aboutsummaryrefslogtreecommitdiff
path: root/src/viewport.h
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-06-12 01:36:20 +0100
committerHarry Jeffery <harry@exec64.co.uk>2019-06-12 01:43:14 +0100
commit4d965ab261c4226f3f99c557a44cb69c38d44863 (patch)
tree6c122c6282d2be314963ef64bce20ef351bf7f23 /src/viewport.h
parentdb991685deeff00073dafba885bd729ee359950b (diff)
downloadimv-4d965ab261c4226f3f99c557a44cb69c38d44863.tar.gz
Add support for hidpi rendering
This fixes #148 but only when used with a version of SDL that includes this patch: https://bugzilla.libsdl.org/show_bug.cgi?id=4521
Diffstat (limited to 'src/viewport.h')
-rw-r--r--src/viewport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewport.h b/src/viewport.h
index fd7a6cf..471d2a5 100644
--- a/src/viewport.h
+++ b/src/viewport.h
@@ -14,7 +14,7 @@ enum imv_zoom_source {
};
/* Creates an instance of imv_viewport */
-struct imv_viewport *imv_viewport_create(SDL_Window *window);
+struct imv_viewport *imv_viewport_create(SDL_Window *window, SDL_Renderer *renderer);
/* Cleans up an imv_viewport instance */
void imv_viewport_free(struct imv_viewport *view);