summaryrefslogtreecommitdiff
path: root/platform/haiku
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-12-09 13:21:36 +0100
committerGitHub <noreply@github.com>2017-12-09 13:21:36 +0100
commita8ee9a6116d00032b5053385c454da013fcf672b (patch)
treeb3691b669153a980a26f037066d6d5dd26a622a4 /platform/haiku
parent181ad1b051c2918d6916e4320c4b72db814584c2 (diff)
parentc067cf2c6a81172d28cf522d281ec94ff608a48d (diff)
Merge pull request #14434 from Smjert/fix/13447/vsync
Fixes vsync setting ignored when using a separate thread for rendering
Diffstat (limited to 'platform/haiku')
-rw-r--r--platform/haiku/os_haiku.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/haiku/os_haiku.cpp b/platform/haiku/os_haiku.cpp
index ef5a065107..f7196755af 100644
--- a/platform/haiku/os_haiku.cpp
+++ b/platform/haiku/os_haiku.cpp
@@ -105,6 +105,7 @@ void OS_Haiku::initialize(const VideoMode &p_desired, int p_video_driver, int p_
context_gl = memnew(ContextGL_Haiku(window));
context_gl->initialize();
context_gl->make_current();
+ context_gl->set_use_vsync(current_video_mode.use_vsync);
/* Port to GLES 3 rasterizer */
//rasterizer = memnew(RasterizerGLES2);