diff options
| author | 3gg <3gg@shellblade.net> | 2026-05-02 14:59:18 -0700 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2026-05-02 14:59:18 -0700 |
| commit | 456d7f883ca34ec83692ff3879ca5f5717e82b33 (patch) | |
| tree | 9bc29d8aa999d98d220419bbf87a02e9639afc64 /app/demo | |
| parent | 5c7204d7b334855b18761ba95f61fea0aefddd52 (diff) | |
Diffstat (limited to 'app/demo')
| -rw-r--r-- | app/demo/main.c | 11 |
1 files changed, 6 insertions, 5 deletions
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 @@ | |||
| 2 | 2 | ||
| 3 | #include <assert.h> | 3 | #include <assert.h> |
| 4 | 4 | ||
| 5 | const int WIDTH = 960; | 5 | const int WIDTH = 960; |
| 6 | const int HEIGHT = 600; | 6 | const int HEIGHT = 600; |
| 7 | const int MAX_FPS = 60; | 7 | const int UPDATE_FPS = 60; |
| 8 | const char* TITLE = "iso3d"; | 8 | const int MAX_FPS = 60; |
| 9 | const char* TITLE = "iso3d"; | ||
| 9 | 10 | ||
| 10 | typedef struct GfxAppState { | 11 | typedef struct GfxAppState { |
| 11 | int unused; | 12 | int unused; |
| @@ -47,4 +48,4 @@ void Resize(GfxApp* app, GfxAppState* state, int width, int height) { | |||
| 47 | (void)height; | 48 | (void)height; |
| 48 | } | 49 | } |
| 49 | 50 | ||
| 50 | GFX_APP_MAIN(WIDTH, HEIGHT, MAX_FPS, TITLE) | 51 | GFX_APP_MAIN(WIDTH, HEIGHT, UPDATE_FPS, MAX_FPS, TITLE) |
