From 4114b967663a33a6d68e210eccf043fff94277d0 Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Fri, 23 Mar 2018 00:52:08 +0100 Subject: [PATCH] redraw if viewport x/y are not 0 --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index c6af8e5..4ed57a4 100644 --- a/src/main.c +++ b/src/main.c @@ -441,7 +441,7 @@ HRESULT __stdcall ddraw_SetDisplayMode(IDirectDrawImpl *This, DWORD width, DWORD mouse_lock(); } - if(This->boxing || This->maintas) + if(This->render.viewport.x != 0 || This->render.viewport.y != 0) { RedrawWindow(This->hWnd, NULL, NULL, RDW_ERASE | RDW_INVALIDATE); }