diff options
author | 3gg <3gg@shellblade.net> | 2025-02-01 11:07:30 -0800 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2025-02-01 11:07:30 -0800 |
commit | a904f67dd29e8d23fecadcfd5ba7bf1f48e97ff7 (patch) | |
tree | 104cee64ea25e7925f76fabac117e0c2390fef97 | |
parent | f982bd68520804190c9bfbff9aef59b665e54ff5 (diff) |
-rw-r--r-- | app/src/app.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/app.c b/app/src/app.c index 9b816ee..58d7b90 100644 --- a/app/src/app.c +++ b/app/src/app.c | |||
@@ -112,6 +112,9 @@ bool gfx_app_run(const GfxAppDesc* desc, const GfxAppCallbacks* callbacks) { | |||
112 | } | 112 | } |
113 | glfwMakeContextCurrent(g_gfx_app.window); | 113 | glfwMakeContextCurrent(g_gfx_app.window); |
114 | 114 | ||
115 | // Request adaptive sync if supported. | ||
116 | glfwSwapInterval(-1); | ||
117 | |||
115 | // Load GL before calling the application init clalback. | 118 | // Load GL before calling the application init clalback. |
116 | if (!gladLoadGL()) { | 119 | if (!gladLoadGL()) { |
117 | LOGE("Failed loading glad!"); | 120 | LOGE("Failed loading glad!"); |