windows: fix crash on close

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7209 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2011-02-20 02:04:14 +00:00
parent 69a3e5f3c3
commit 685d3c1f50
2 changed files with 0 additions and 7 deletions

View File

@ -221,9 +221,6 @@ LRESULT CALLBACK WndProc( HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam )
PostMessage(m_hParent, WM_USER, WM_USER_SETCURSOR, 0); PostMessage(m_hParent, WM_USER, WM_USER_SETCURSOR, 0);
return true; return true;
case WM_DESTROY:
g_video_backend->Shutdown();
break;
default: default:
return DefWindowProc(hWnd, iMsg, wParam, lParam); return DefWindowProc(hWnd, iMsg, wParam, lParam);
} }

View File

@ -164,10 +164,6 @@ LRESULT CALLBACK WndProc( HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam )
} }
break; break;
case WM_DESTROY:
g_video_backend->Shutdown();
break;
// Called when a screensaver wants to show up while this window is active // Called when a screensaver wants to show up while this window is active
case WM_SYSCOMMAND: case WM_SYSCOMMAND:
switch (wParam) switch (wParam)