summaryrefslogtreecommitdiff
path: root/src/video/cocoa/event.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/cocoa/event.mm')
-rw-r--r--src/video/cocoa/event.mm6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/video/cocoa/event.mm b/src/video/cocoa/event.mm
index 642149858..8a43945f5 100644
--- a/src/video/cocoa/event.mm
+++ b/src/video/cocoa/event.mm
@@ -652,12 +652,6 @@ void VideoDriver_Cocoa::GameLoop()
while (QZ_PollEvent()) {}
- /* If we do that right after window creation, a grey bar will be left at the top. */
- if (this->fullscreen_on_mainloop) {
- this->fullscreen_on_mainloop = false;
- _cocoa_subdriver->ToggleFullscreen(true);
- }
-
if (_exit_game) {
/* Restore saved resolution if in fullscreen mode. */
if (_cocoa_subdriver->IsFullscreen()) _cur_resolution = this->orig_res;