Skip to content

Commit

Permalink
Use better filtering for scaling in SDL
Browse files Browse the repository at this point in the history
  • Loading branch information
Grumbel committed Aug 1, 2014
1 parent d4e5e09 commit a89f53b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/sdl/sdl_renderer.cpp
Expand Up @@ -59,6 +59,8 @@ SDLRenderer::SDLRenderer() :
PHYSICAL_SCREEN_WIDTH = width;
PHYSICAL_SCREEN_HEIGHT = height;

SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "2");

int ret = SDL_CreateWindowAndRenderer(width, height, flags,
&window, &renderer);

Expand Down

0 comments on commit a89f53b

Please sign in to comment.