Changed: Hide window before releasing driver

This commit is contained in:
kervala 2010-11-21 22:09:29 +01:00
parent 7f8f46f70e
commit 921180452d

View file

@ -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();