Skip to content

Commit

Permalink
don't set dds_unlock_limiter_disabled on colorfill
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Dec 13, 2024
1 parent 2dbebf8 commit 7f8bc1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ddsurface.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ HRESULT dds_Blt(
ReleaseSemaphore(g_ddraw.render.sem, 1, NULL);
SwitchToThread();

if (g_ddraw.ticks_limiter.tick_length > 0)
if (g_ddraw.ticks_limiter.tick_length > 0 && !(dwFlags & DDBLT_COLORFILL))
{
g_ddraw.ticks_limiter.dds_unlock_limiter_disabled = TRUE;
util_limit_game_ticks();
Expand Down

0 comments on commit 7f8bc1b

Please sign in to comment.