From 081bbb42957370a538aeb0c29c24310fc9c79994 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 21 Nov 2010 22:09:29 +0100 Subject: [PATCH] Changed: Hide window before releasing driver --- code/nel/src/3d/driver/opengl/driver_opengl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl.cpp b/code/nel/src/3d/driver/opengl/driver_opengl.cpp index 3da894739..f88101c27 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl.cpp @@ -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();