- center Cocoa window on vid_setsize CCMD

This commit is contained in:
alexey.lysiuk 2018-07-28 18:17:25 +03:00
parent 7c39773f98
commit 477d2d0389

View file

@ -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