mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Update sdlWindowMgr.cpp
This commit is contained in:
parent
69ab86f87b
commit
f452ea9823
|
|
@ -68,6 +68,8 @@ PlatformWindowManagerSDL::PlatformWindowManagerSDL()
|
|||
|
||||
PlatformWindowManagerSDL::~PlatformWindowManagerSDL()
|
||||
{
|
||||
if (mWindowListHead == NULL)
|
||||
return;
|
||||
// Kill all our windows first.
|
||||
while(mWindowListHead)
|
||||
// The destructors update the list, so this works just fine.
|
||||
|
|
|
|||
Loading…
Reference in a new issue