From 65647fecbbd31d3af9c886e56c24eee6c6faf5e0 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 1 Aug 2010 09:48:03 +0200 Subject: [PATCH] Changed: #1044 Window content is black after switching windowed <-> fullscreen --- code/nel/src/3d/driver/opengl/driver_opengl_window.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp b/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp index 6c722a18c..d738dfe2f 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp @@ -1542,8 +1542,6 @@ bool CDriverGL::setMode(const GfxMode& mode) if (!mode.Windowed) _Depth = mode.Depth; - _FullScreen = !mode.Windowed; - #if defined(NL_OS_MAC) && !defined(NL_MAC_NATIVE) // X11 under Mac OS can't use fullscreen _FullScreen = false;