Skip to content

Commit

Permalink
FIX: for AGS_DISABLE_THREADS
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-mogilko committed Mar 8, 2024
1 parent c1918ac commit 656e205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/media/video/video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 656e205

Please sign in to comment.