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,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);