mirror of https://github.com/snes9xgit/snes9x.git
win32: Don't realloc graphics buffers when dialog shown.
This commit is contained in:
parent
ca158abcb6
commit
6e738950c6
|
@ -1825,14 +1825,11 @@ LRESULT CALLBACK WinProc(
|
||||||
|
|
||||||
RestoreSNESDisplay ();
|
RestoreSNESDisplay ();
|
||||||
|
|
||||||
S9xGraphicsDeinit();
|
|
||||||
S9xSetWinPixelFormat ();
|
S9xSetWinPixelFormat ();
|
||||||
S9xInitUpdate();
|
S9xInitUpdate();
|
||||||
S9xGraphicsInit();
|
|
||||||
|
|
||||||
IPPU.RenderThisFrame = false;
|
IPPU.RenderThisFrame = false;
|
||||||
|
|
||||||
|
|
||||||
RECT rect;
|
RECT rect;
|
||||||
GetClientRect (GUI.hWnd, &rect);
|
GetClientRect (GUI.hWnd, &rect);
|
||||||
InvalidateRect (GUI.hWnd, &rect, true);
|
InvalidateRect (GUI.hWnd, &rect, true);
|
||||||
|
|
Loading…
Reference in New Issue