mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- center Cocoa window on vid_setsize CCMD
This commit is contained in:
parent
7c39773f98
commit
477d2d0389
1 changed files with 2 additions and 0 deletions
|
@ -400,6 +400,8 @@ void SystemGLFrameBuffer::SetWindowSize(int width, int height)
|
|||
win_h = height + GetTitleBarHeight();
|
||||
|
||||
SetMode(false, m_hiDPI);
|
||||
|
||||
[m_window center];
|
||||
}
|
||||
|
||||
int SystemGLFrameBuffer::GetTitleBarHeight() const
|
||||
|
|
Loading…
Reference in a new issue