summaryrefslogtreecommitdiff
path: root/gfx-app/include
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2023-02-04 11:08:43 -0800
committer3gg <3gg@shellblade.net>2023-02-04 11:08:43 -0800
commit4eee2853cb38892283fffc939b8f2d4e540c0d30 (patch)
tree8d5edd7f86bf8f10507ed9017cbc810bff20381d /gfx-app/include
parent9f57fe66fb638be0566fb78dc75d74b8a650f725 (diff)
Warm up application update function before first render.
Diffstat (limited to 'gfx-app/include')
-rw-r--r--gfx-app/include/gfx/gfx_app.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gfx-app/include/gfx/gfx_app.h b/gfx-app/include/gfx/gfx_app.h
index bdb3550..4744992 100644
--- a/gfx-app/include/gfx/gfx_app.h
+++ b/gfx-app/include/gfx/gfx_app.h
@@ -3,12 +3,12 @@
3#include <stdbool.h> 3#include <stdbool.h>
4 4
5typedef struct GfxAppDesc { 5typedef struct GfxAppDesc {
6 int argc; // Number of application arguments. 6 int argc; // Number of application arguments.
7 const char** argv; // Application arguments. 7 const char** argv; // Application arguments.
8 int width; // Window width. 8 int width; // Window width.
9 int height; // Window height. 9 int height; // Window height.
10 int max_fps; // Desired maximum framerate. 0 to disable. 10 int max_fps; // Desired maximum display framerate. 0 to disable.
11 double update_delta_time; // Desired delta time between frame updates. 11 double update_delta_time; // Desired delta time between frame updates.
12} GfxAppDesc; 12} GfxAppDesc;
13 13
14typedef struct GfxAppCallbacks { 14typedef struct GfxAppCallbacks {