macosx: Fixed a display problem.

This commit is contained in:
zones 2010-09-26 23:31:27 +09:00
parent 31f45619a5
commit 98aac99c42
1 changed files with 2 additions and 2 deletions

View File

@ -833,8 +833,8 @@ static void S9xInitWindowMode (void)
oldDisplayMode = CGDisplayCurrentMode(gGameDisplayID); oldDisplayMode = CGDisplayCurrentMode(gGameDisplayID);
mode = CGDisplayBestModeForParameters(gGameDisplayID, depth, width, height, &exactMatch); mode = CGDisplayBestModeForParameters(gGameDisplayID, depth, width, height, &exactMatch);
if (exactMatch)
CGDisplaySwitchToMode(gGameDisplayID, mode); CGDisplaySwitchToMode(gGameDisplayID, mode);
#else #else
oldDisplayModeRef = CGDisplayCopyDisplayMode(gGameDisplayID); oldDisplayModeRef = CGDisplayCopyDisplayMode(gGameDisplayID);