Fix crash in GE debugger when game quit.

Fixes #6856.
This commit is contained in:
Unknown W. Brackets 2014-09-07 20:38:51 -07:00
parent 1985e6db9a
commit 5d313d1af4

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);