diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-12-20 11:54:14 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-12-20 11:54:14 +0100 |
commit | 9140b73e4af7aa925b53e4fb4e6aa7f4ea2e3385 (patch) | |
tree | 91502ea470524ad80073b8d78f0cc9d6840e525b /src/crepe/facade | |
parent | ea970a901d169824a99a336eacd06ebc032e5f66 (diff) |
Better interpolatie
Diffstat (limited to 'src/crepe/facade')
-rw-r--r-- | src/crepe/facade/SDLContext.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp index 7ccc243..a75adb2 100644 --- a/src/crepe/facade/SDLContext.cpp +++ b/src/crepe/facade/SDLContext.cpp @@ -1,5 +1,6 @@ #include <SDL2/SDL.h> #include <SDL2/SDL_blendmode.h> +#include <SDL2/SDL_hints.h> #include <SDL2/SDL_image.h> #include <SDL2/SDL_keycode.h> #include <SDL2/SDL_pixels.h> @@ -58,6 +59,8 @@ SDLContext::SDLContext(Mediator & mediator) { throw runtime_error("SDLContext: SDL_image could not initialize!"); } + SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "1"); + mediator.sdl_context = *this; } |