mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
Fixed fullscreen mode on non-default monitor in OS X backend
Fullscreen window was incorrectly placed on the main screen instead of the current one Honestly I have no idea what was the reason behind that [NSWindow setFrameOrigin:] call Apparently it's redundant and moreover it's incorrect for multi-monitor configuration
This commit is contained in:
parent
ae31e0ba72
commit
aa6753383d
1 changed files with 0 additions and 1 deletions
|
@ -665,7 +665,6 @@ void CocoaVideo::SetFullscreenMode(const int width, const int height)
|
||||||
}
|
}
|
||||||
|
|
||||||
[m_window setFrame:screenFrame display:YES];
|
[m_window setFrame:screenFrame display:YES];
|
||||||
[m_window setFrameOrigin:NSMakePoint(0.0f, 0.0f)];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CocoaVideo::SetWindowedMode(const int width, const int height)
|
void CocoaVideo::SetWindowedMode(const int width, const int height)
|
||||||
|
|
Loading…
Reference in a new issue