Fix #5390, crash on Exit on Windows.

This commit is contained in:
Unknown W. Brackets committed 2014-02-09 17:35:43 -08:00
1 parent 6de30f5cbd
commit 80704d013e
3 files changed
+5 -2

No files matched your search

+1
View File
@@ -104,6 +104,7 @@ bool WindowsHost::InitGL(std::string *error_message)
void WindowsHost::ShutdownGL()
{
GL_Shutdown();
PostMessage(MainWindow::GetHWND(), WM_CLOSE, 0, 0);
}
void WindowsHost::SetWindowTitle(const char *message)