Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UInt32 value;
- CFNumberGetValue(pixelFormatFourCC, kCFNumberSInt32Type, &value);
- auto desc = CVPixelFormatDescriptionCreateWithPixelFormatType(kCFAllocatorDefault, (OSType)value);
- auto OpenGLCompatibility = (CFBooleanRef)CFDictionaryGetValue(desc, kCVPixelFormatOpenGLCompatibility);
- auto OpenGLESCompatibility = (CFBooleanRef)CFDictionaryGetValue(desc, kCVPixelFormatOpenGLESCompatibility);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement