]> git.sesse.net Git - nageru/commitdiff
Fix a fence that was not waited on correctly in the DeckLink output.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 10 Mar 2017 21:12:55 +0000 (22:12 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 10 Mar 2017 21:12:55 +0000 (22:12 +0100)
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();