mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-09 01:03:51 +01:00
No longer try to set WM_QUIT when using an external Window on Win32.
Thx @Marko Mahnič for the patch (https://sourceforge.net/p/irrlicht/bugs/449) git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6135 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
f0043ebc36
commit
f478272392
@ -1,5 +1,7 @@
|
|||||||
--------------------------
|
--------------------------
|
||||||
Changes in 1.9 (not yet released)
|
Changes in 1.9 (not yet released)
|
||||||
|
- No longer try to set WM_QUIT when using an external Window on Win32.
|
||||||
|
Thx @Marko Mahnic for the patch (https://sourceforge.net/p/irrlicht/bugs/449)
|
||||||
- ply meshloader now also supports textures with uv-labels named texture_u/texture_v.
|
- ply meshloader now also supports textures with uv-labels named texture_u/texture_v.
|
||||||
Thx @acy for bugreport and test-model (http://irrlicht.sourceforge.net/forum/viewtopic.php?f=4&t=52646)
|
Thx @acy for bugreport and test-model (http://irrlicht.sourceforge.net/forum/viewtopic.php?f=4&t=52646)
|
||||||
- Fix potential reading/writing 1 byte behind it's own buffer in PLY loader.
|
- Fix potential reading/writing 1 byte behind it's own buffer in PLY loader.
|
||||||
|
@ -1350,12 +1350,12 @@ bool CIrrDeviceWin32::present(video::IImage* image, void* windowId, core::rect<s
|
|||||||
//! 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);
|
|
||||||
PostQuitMessage(0);
|
|
||||||
PeekMessage(&msg, NULL, WM_QUIT, WM_QUIT, PM_REMOVE);
|
|
||||||
if (!ExternalWindow)
|
if (!ExternalWindow)
|
||||||
{
|
{
|
||||||
|
MSG msg;
|
||||||
|
PeekMessage(&msg, NULL, WM_QUIT, WM_QUIT, PM_REMOVE);
|
||||||
|
PostQuitMessage(0);
|
||||||
|
PeekMessage(&msg, NULL, WM_QUIT, WM_QUIT, PM_REMOVE);
|
||||||
DestroyWindow(HWnd);
|
DestroyWindow(HWnd);
|
||||||
const fschar_t* ClassName = __TEXT("CIrrDeviceWin32");
|
const fschar_t* ClassName = __TEXT("CIrrDeviceWin32");
|
||||||
HINSTANCE hInstance = GetModuleHandle(0);
|
HINSTANCE hInstance = GetModuleHandle(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user