1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-06 13:16:52 +02:00

Ensure window is centered on being created, not squished somewhere in the corner.

This commit is contained in:
cochrane
2016-11-18 21:58:12 +01:00
parent a4c16b8d95
commit cc8853a9ef

View File

@@ -327,6 +327,7 @@ int main() {
Game::init();
// show window
[mainWindow center];
[mainWindow makeKeyAndOrderFront:nil];
// Set up DisplayLink. This will call our callback in time with display