From 456d7f883ca34ec83692ff3879ca5f5717e82b33 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 2 May 2026 14:59:18 -0700 Subject: Use the simloop library --- app/demo/main.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'app/demo/main.c') diff --git a/app/demo/main.c b/app/demo/main.c index 0aa4e34..2efca7c 100644 --- a/app/demo/main.c +++ b/app/demo/main.c @@ -2,10 +2,11 @@ #include -const int WIDTH = 960; -const int HEIGHT = 600; -const int MAX_FPS = 60; -const char* TITLE = "iso3d"; +const int WIDTH = 960; +const int HEIGHT = 600; +const int UPDATE_FPS = 60; +const int MAX_FPS = 60; +const char* TITLE = "iso3d"; typedef struct GfxAppState { int unused; @@ -47,4 +48,4 @@ void Resize(GfxApp* app, GfxAppState* state, int width, int height) { (void)height; } -GFX_APP_MAIN(WIDTH, HEIGHT, MAX_FPS, TITLE) +GFX_APP_MAIN(WIDTH, HEIGHT, UPDATE_FPS, MAX_FPS, TITLE) -- cgit v1.2.3