From bd51bcdcfa8d527f3d49859ecf27b72c01f9960f Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 10 Mar 2017 22:12:55 +0100 Subject: [PATCH] Fix a fence that was not waited on correctly in the DeckLink output. --- decklink_output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decklink_output.cpp b/decklink_output.cpp index 8c6672b..3b00d28 100644 --- a/decklink_output.cpp +++ b/decklink_output.cpp @@ -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(); -- 2.39.2