Fix crash in GE debugger when game quit.

Fixes #6856.
This commit is contained in:
Unknown W. Brackets committed 2014-09-07 20:38:51 -07:00
1 parent 1985e6db9a
commit 5d313d1af4
1 file changed
+2 -1
+2 -1
View File
@@ -152,7 +152,8 @@ void CtrlDisplayListView::redraw()
void CtrlDisplayListView::onPaint(WPARAM wParam, LPARAM lParam)
{
if (!validDisplayList) return;
if (!validDisplayList || !gpuDebug)
return;
PAINTSTRUCT ps;
HDC actualHdc = BeginPaint(wnd, &ps);