Skip to content

Commit

Permalink
whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed May 26, 2018
1 parent 7ac7eec commit 002ab79
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/PowderToySDL.cpp
Expand Up @@ -175,7 +175,7 @@ int SDLOpen()
#endif

sdl_window = SDL_CreateWindow("The Powder Toy", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, WINDOWW * scale, WINDOWH * scale,
fullscreen ? SDL_WINDOW_FULLSCREEN_DESKTOP : 0);
fullscreen ? SDL_WINDOW_FULLSCREEN_DESKTOP : 0);
sdl_renderer = SDL_CreateRenderer(sdl_window, -1, 0);
SDL_RenderSetLogicalSize(sdl_renderer, WINDOWW, WINDOWH);
//Uncomment this to force fullscreen to an integer resolution
Expand All @@ -184,8 +184,8 @@ int SDLOpen()
if (fullscreen)
SDL_RaiseWindow(sdl_window);
//Uncomment this to enable resizing
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear");
SDL_SetWindowResizable(sdl_window, SDL_TRUE);
//SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear");
//SDL_SetWindowResizable(sdl_window, SDL_TRUE);

#ifdef LIN
SDL_Surface *icon = SDL_CreateRGBSurfaceFrom((void*)app_icon, 48, 48, 24, 144, 0x00FF0000, 0x0000FF00, 0x000000FF, 0);
Expand Down Expand Up @@ -443,9 +443,9 @@ void EngineProcess()
}

#ifdef OGLI
blit();
blit();
#else
blit(engine->g->vid);
blit(engine->g->vid);
#endif

int frameTime = SDL_GetTicks() - frameStart;
Expand Down

0 comments on commit 002ab79

Please sign in to comment.