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:
skidau 2012-03-31 13:48:40 +11:00
parent 460610ea0e
commit 995a84e06a
1 changed files with 0 additions and 1 deletions

View File

@ -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);
} }