Commit ce4a3002 authored by hybrid's avatar hybrid

Fix the variable declaration.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1026 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 06629a4b
...@@ -658,9 +658,9 @@ void CIrrDeviceWin32::present(video::IImage* image, s32 windowId, core::rect<s32 ...@@ -658,9 +658,9 @@ void CIrrDeviceWin32::present(video::IImage* image, s32 windowId, core::rect<s32
//! notifies the device that it should close itself //! notifies the device that it should close itself
void CIrrDeviceWin32::closeDevice() void CIrrDeviceWin32::closeDevice()
{ {
MSG msg;
PeekMessage(&msg, NULL, WM_QUIT, WM_QUIT, PM_REMOVE); PeekMessage(&msg, NULL, WM_QUIT, WM_QUIT, PM_REMOVE);
PostQuitMessage(0); PostQuitMessage(0);
MSG msg;
PeekMessage(&msg, NULL, WM_QUIT, WM_QUIT, PM_REMOVE); PeekMessage(&msg, NULL, WM_QUIT, WM_QUIT, PM_REMOVE);
DestroyWindow(HWnd); DestroyWindow(HWnd);
} }
......
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