Changed: Hide window before releasing driver
This commit is contained in:
parent
7f8f46f70e
commit
921180452d
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue