From: Ingo Ruhnke Date: Fri, 1 Aug 2014 02:07:02 +0000 (+0200) Subject: Use better filtering for scaling in SDL X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a89f53b6c78ecb70b562e22573860bbb5d22795f;p=supertux.git Use better filtering for scaling in SDL --- diff --git a/src/video/sdl/sdl_renderer.cpp b/src/video/sdl/sdl_renderer.cpp index 61504e72f..e1a149ee3 100644 --- a/src/video/sdl/sdl_renderer.cpp +++ b/src/video/sdl/sdl_renderer.cpp @@ -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);