diff --git a/src/surface.c b/src/surface.c index 5de71f1..a78acc7 100644 --- a/src/surface.c +++ b/src/surface.c @@ -1049,8 +1049,12 @@ HRESULT __stdcall ddraw_surface_Unlock(IDirectDrawSurfaceImpl *This, LPVOID lpRe if (erase) { + BOOL x = ddraw->ticksLimiter.useBltOrFlip; + DDBLTFX fx = { .dwFillColor = 0xFE }; IDirectDrawSurface_Blt(This, NULL, NULL, NULL, DDBLT_COLORFILL, &fx); + + ddraw->ticksLimiter.useBltOrFlip = x; } }