From 656e2055114b9a1a7a06ec197efdf6411f082f2c Mon Sep 17 00:00:00 2001 From: Ivan Mogilko Date: Fri, 8 Mar 2024 22:04:57 +0300 Subject: [PATCH] FIX: for AGS_DISABLE_THREADS --- Engine/media/video/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/media/video/video.cpp b/Engine/media/video/video.cpp index 42d3953ec9e..12929a6d801 100644 --- a/Engine/media/video/video.cpp +++ b/Engine/media/video/video.cpp @@ -228,7 +228,7 @@ bool BlockingVideoPlayer::Run() { auto player = video_core_get_player(_playerID); #if defined(AGS_DISABLE_THREADS) - if (!_player->Poll()) + if (!player->Poll()) return false; #endif // update/render next frame