Changed: Hide window before releasing driver

This commit is contained in:
kervala 2010-11-21 22:09:29 +01:00
parent e544137dfd
commit 081bbb4295

View file

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