From 4d965ab261c4226f3f99c557a44cb69c38d44863 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Wed, 12 Jun 2019 01:36:20 +0100 Subject: 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 --- src/viewport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/viewport.h') 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); -- cgit v1.2.3