Changed: #1044 Window content is black after switching windowed <-> fullscreen
This commit is contained in:
parent
5ea0a915fb
commit
6359d5c7a8
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue