]> git.sesse.net Git - nageru/blobdiff - decklink_output.cpp
Fix a fence that was not waited on correctly in the DeckLink output.
[nageru] / decklink_output.cpp
index 8c6672bb8e89d7fcca7eade4badae1035659f026..3b00d28bbeee3afea7a13277e0f3b70db3c7b475 100644 (file)
@@ -440,7 +440,7 @@ void DeckLinkOutput::present_thread_func()
                        ++num_frames_in_flight;
                }
 
-               glWaitSync(frame->fence.get(), /*flags=*/0, GL_TIMEOUT_IGNORED);
+               glClientWaitSync(frame->fence.get(), /*flags=*/0, GL_TIMEOUT_IGNORED);
                check_error();
                frame->fence.reset();