aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2015-11-06 19:42:27 +0000
committerHarry Jeffery <harry@exec64.co.uk>2015-11-06 20:17:42 +0000
commitefc20d77a8d1f6461ae72e9c230c094d73897bde (patch)
treef80be60e3957704ea4e0d8c197677a48f31e87cc /main.c
parent2cefa55f57dc4d9cd2e14388ec7e1c1a5d32de96 (diff)
downloadimv-efc20d77a8d1f6461ae72e9c230c094d73897bde.tar.gz
Improve scaled rendering quality
Diffstat (limited to 'main.c')
-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) {