Mercurial > sdl-ios-xcode
changeset 3504:919d88c202cf
Allow mirrored displays, but only the primary display in a mirrored set.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 01 Dec 2009 10:34:01 +0000 |
parents | 7931094e4c48 |
children | a1bf34bc2a58 |
files | src/video/cocoa/SDL_cocoamodes.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoamodes.m Tue Dec 01 09:04:28 2009 +0000 +++ b/src/video/cocoa/SDL_cocoamodes.m Tue Dec 01 10:34:01 2009 +0000 @@ -160,7 +160,7 @@ SDL_DisplayMode mode; CFDictionaryRef moderef; - if (CGDisplayIsInMirrorSet(displays[i])) { + if (CGDisplayMirrorsDisplay(displays[i]) != kCGNullDirectDisplay) { continue; } moderef = CGDisplayCurrentMode(displays[i]);