Changed: Hide window before releasing driver

hg/feature/sound
kervala 14 years ago
parent 7f8f46f70e
commit 921180452d

@ -965,6 +965,9 @@ bool CDriverGL::release()
// release only if the driver was initialized
if (!_Initialized) return true;
// hide window
showWindow(false);
// Call IDriver::release() before, to destroy textures, shaders and VBs...
IDriver::release();

Loading…
Cancel
Save