Removed CGDisplayCapture from the OSX fullscreen mode code, fixing full-screen mode. Thanks to celgilles for the patch.
Fixes issue 5331.
This commit is contained in:
parent
460610ea0e
commit
995a84e06a
|
@ -892,7 +892,6 @@ void CFrame::ToggleDisplayMode(bool bFullscreen)
|
||||||
if (w != x || h != y || d != 32)
|
if (w != x || h != y || d != 32)
|
||||||
continue;;
|
continue;;
|
||||||
|
|
||||||
CGDisplayCapture(CGMainDisplayID());
|
|
||||||
CGDisplaySwitchToMode(CGMainDisplayID(), mode);
|
CGDisplaySwitchToMode(CGMainDisplayID(), mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue