From 9140b73e4af7aa925b53e4fb4e6aa7f4ea2e3385 Mon Sep 17 00:00:00 2001 From: max-001 Date: Fri, 20 Dec 2024 11:54:14 +0100 Subject: Better interpolatie --- src/crepe/facade/SDLContext.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/crepe/facade') 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 #include +#include #include #include #include @@ -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; } -- cgit v1.2.3