summaryrefslogtreecommitdiff
path: root/gfx-iso/demos/checkerboard
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-08-29 20:10:33 -0700
committer3gg <3gg@shellblade.net>2024-08-29 20:10:33 -0700
commit4e545b237f0f306c21073bc646aa7fe00ed71136 (patch)
treef6ca048b3cbdcb898a48311838c6b54400215d94 /gfx-iso/demos/checkerboard
parent6347ee483182bf8c5d139d1110ce2c335af60e4f (diff)
Supress unused variable warnings.
Diffstat (limited to 'gfx-iso/demos/checkerboard')
-rw-r--r--gfx-iso/demos/checkerboard/checkerboard.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gfx-iso/demos/checkerboard/checkerboard.c b/gfx-iso/demos/checkerboard/checkerboard.c
index 9730aea..e684bc3 100644
--- a/gfx-iso/demos/checkerboard/checkerboard.c
+++ b/gfx-iso/demos/checkerboard/checkerboard.c
@@ -54,6 +54,9 @@ static bool init(
54 assert(state); 54 assert(state);
55 assert(iso); 55 assert(iso);
56 56
57 (void)argc;
58 (void)argv;
59
57 if (!isogfx_make_world( 60 if (!isogfx_make_world(
58 iso, &(WorldDesc){ 61 iso, &(WorldDesc){
59 .tile_width = TILE_WIDTH, 62 .tile_width = TILE_WIDTH,
@@ -80,6 +83,9 @@ static void update(IsoGfxAppState* state, IsoGfx* iso, double t, double dt) {
80 assert(state); 83 assert(state);
81 assert(iso); 84 assert(iso);
82 85
86 (void)t;
87 (void)dt;
88
83 double mouse_x, mouse_y; 89 double mouse_x, mouse_y;
84 gfx_app_get_mouse_position(&mouse_x, &mouse_y); 90 gfx_app_get_mouse_position(&mouse_x, &mouse_y);
85 91