Commit 16ef2e5e authored by hybrid's avatar hybrid

Don't destroy the external window.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3232 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 8796542e
......@@ -903,7 +903,8 @@ void CIrrDeviceWin32::closeDevice()
PeekMessage(&msg, NULL, WM_QUIT, WM_QUIT, PM_REMOVE);
PostQuitMessage(0);
PeekMessage(&msg, NULL, WM_QUIT, WM_QUIT, PM_REMOVE);
DestroyWindow(HWnd);
if (ExternalWindow)
DestroyWindow(HWnd);
Close=true;
}
......
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