Changeset 53583 in vbox for trunk/src/VBox
- Timestamp:
- Dec 20, 2014 8:06:20 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTestDarwin.cpp
r53582 r53583 50 50 it sets pfAppropriate to TRUE, otherwise to FALSE. */ 51 51 52 CFStringRef ppDictionaryKeys[]= { CFSTR(kIOProviderClassKey), CFSTR(kIONameMatchKey) };53 CFStringRef ppDictionaryVals[] = { CFSTR("IOPCIDevice"), CFSTR("display") };54 Assert(RT_ELEMENTS( ppDictionaryKeys) == RT_ELEMENTS(ppDictionaryVals));52 CFStringRef apKeyStrings[] = { CFSTR(kIOProviderClassKey), CFSTR(kIONameMatchKey) }; 53 CFStringRef apValueStrings[] = { CFSTR("IOPCIDevice"), CFSTR("display") }; 54 Assert(RT_ELEMENTS(apKeyStrings) == RT_ELEMENTS(apValueStrings)); 55 55 56 56 CFDictionaryRef pMatchingDictionary = CFDictionaryCreate(kCFAllocatorDefault, 57 (const void **) ppDictionaryKeys,58 (const void **) ppDictionaryVals,59 RT_ELEMENTS( ppDictionaryKeys),57 (const void **)apKeyStrings, 58 (const void **)apValueStrings, 59 RT_ELEMENTS(apKeyStrings), 60 60 &kCFTypeDictionaryKeyCallBacks, 61 61 &kCFTypeDictionaryValueCallBacks);
Note:
See TracChangeset
for help on using the changeset viewer.