From: Steinar H. Gunderson Date: Fri, 10 Mar 2017 21:12:55 +0000 (+0100) Subject: Fix a fence that was not waited on correctly in the DeckLink output. X-Git-Tag: 1.5.0~14 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=bd51bcdcfa8d527f3d49859ecf27b72c01f9960f;p=nageru Fix a fence that was not waited on correctly in the DeckLink output. --- 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();