Changed: #1044 Window content is black after switching windowed <-> fullscreen

This commit is contained in:
kervala 2010-08-01 09:48:03 +02:00
parent 90acceadbf
commit 65647fecbb

View file

@ -1542,8 +1542,6 @@ bool CDriverGL::setMode(const GfxMode& mode)
if (!mode.Windowed) if (!mode.Windowed)
_Depth = mode.Depth; _Depth = mode.Depth;
_FullScreen = !mode.Windowed;
#if defined(NL_OS_MAC) && !defined(NL_MAC_NATIVE) #if defined(NL_OS_MAC) && !defined(NL_MAC_NATIVE)
// X11 under Mac OS can't use fullscreen // X11 under Mac OS can't use fullscreen
_FullScreen = false; _FullScreen = false;