aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index df5f3b8..b4a7a87 100644
--- a/main.c
+++ b/main.c
@@ -197,6 +197,9 @@ int main(int argc, char** argv)
g_renderer = SDL_CreateRenderer(g_window, -1, SDL_RENDERER_ACCELERATED);
+ //Use linear sampling for scaling
+ SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "1");
+
int quit = 0;
while(!quit) {