diff options
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) |
