Fix: [OSX] Quitting in fullscreen mode would loose the original window size.
This replicates the behaviour on e.g. Windows, which saves the original window size.
This commit is contained in:
@@ -73,7 +73,7 @@ static OTTDMain *_ottd_main;
|
||||
[ _cocoa_subdriver->cocoaview resetCursorRects ];
|
||||
|
||||
/* Hand off to main application code. */
|
||||
QZ_GameLoop();
|
||||
static_cast<VideoDriver_Cocoa *>(VideoDriver::GetInstance())->GameLoop();
|
||||
|
||||
/* We are done, thank you for playing. */
|
||||
[ self performSelectorOnMainThread:@selector(stopEngine) withObject:nil waitUntilDone:FALSE ];
|
||||
|
||||
Reference in New Issue
Block a user