From 4fd6b58064bd26df93b05e39438dab649a65633c Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 8 Jul 2023 15:03:05 -0700 Subject: Add pixel scaling. --- gfx-iso/app/isogfx-demo.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gfx-iso/app/isogfx-demo.c') diff --git a/gfx-iso/app/isogfx-demo.c b/gfx-iso/app/isogfx-demo.c index 15ab6be..d463d1c 100644 --- a/gfx-iso/app/isogfx-demo.c +++ b/gfx-iso/app/isogfx-demo.c @@ -54,10 +54,11 @@ bool make_demo_app(IsoGfx* iso, IsoGfxApp* app) { goto cleanup; } - app->state = state; - app->shutdown = shutdown; - app->update = update; - app->render = render; + app->pixel_scale = 2; + app->state = state; + app->shutdown = shutdown; + app->update = update; + app->render = render; return true; -- cgit v1.2.3