Commit e974ba99 authored by hybrid's avatar hybrid

Fix for Win32 closeDevice, proposed by Spintz.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1007 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 97b683c2
...@@ -659,6 +659,9 @@ void CIrrDeviceWin32::present(video::IImage* image, s32 windowId, core::rect<s32 ...@@ -659,6 +659,9 @@ void CIrrDeviceWin32::present(video::IImage* image, s32 windowId, core::rect<s32
void CIrrDeviceWin32::closeDevice() void CIrrDeviceWin32::closeDevice()
{ {
DestroyWindow(HWnd); DestroyWindow(HWnd);
PostQuitMessage(0);
MSG msg;
GetMessage(&msg, NULL, WM_QUIT, WM_QUIT);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment