diff options
-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!"); |