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:
@@ -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
|
||||
|
Reference in New Issue
Block a user