| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
hi, I'm checking the list of available Displays using the following code: int maxDisplays = 2; CGDirectDisplayID onlineDisplayIDs[maxDisplays]; CGDisplayCount displayCount; CGGetOnlineDisplayList(maxDisplays, onlineDisplayIDs, &displayCount); printf("displayCount is %d ", displayCount); CVReturn res = CVDisplayLinkCreateWithCGDisplay(onlineDisplayIDs[0], &_displayLink); if(res == kCVReturnSuccess) { CVDisplayLinkSetOutputCallback(_displayLink, _displayLinkCallBack, self); } else { _displayLink = NULL; printf("failed"); } as expected, I get a displaycount of 2, if I have another display attached to my macbook pro, respectively 1 if not, so I assume I did this right. res has always a value of -6670 - it doesn't matter which display I select. The macbook pro is the 1.83/128mb GRAM model, with 10.4.6 and qt 7.1 What can I do? Who can reproduce the problem on another intel mac? Thanks |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartz-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartz-dev/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.