mirror of https://github.com/snes9xgit/snes9x.git
macosx: Fixed a display problem.
This commit is contained in:
parent
31f45619a5
commit
98aac99c42
|
@ -833,7 +833,7 @@ static void S9xInitWindowMode (void)
|
|||
oldDisplayMode = CGDisplayCurrentMode(gGameDisplayID);
|
||||
|
||||
mode = CGDisplayBestModeForParameters(gGameDisplayID, depth, width, height, &exactMatch);
|
||||
|
||||
if (exactMatch)
|
||||
CGDisplaySwitchToMode(gGameDisplayID, mode);
|
||||
#else
|
||||
oldDisplayModeRef = CGDisplayCopyDisplayMode(gGameDisplayID);
|
||||
|
|
Loading…
Reference in New Issue