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/app.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gfx-iso/app/app.h') diff --git a/gfx-iso/app/app.h b/gfx-iso/app/app.h index 160da47..25e55eb 100644 --- a/gfx-iso/app/app.h +++ b/gfx-iso/app/app.h @@ -4,6 +4,7 @@ typedef struct IsoGfx IsoGfx; typedef struct IsoGfxApp IsoGfxApp; typedef struct IsoGfxApp { + int pixel_scale; // 0 or 1 for 1:1 scale. void* state; void (*shutdown)(IsoGfx*, void* state); void (*update)(IsoGfx*, void* state, double t, double dt); -- cgit v1.2.3