mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Changed: #1044 Window content is black after switching windowed <-> fullscreen
This commit is contained in:
parent
90acceadbf
commit
65647fecbb
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