Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. UInt32 value;
  2. CFNumberGetValue(pixelFormatFourCC, kCFNumberSInt32Type, &value);
  3. auto desc = CVPixelFormatDescriptionCreateWithPixelFormatType(kCFAllocatorDefault, (OSType)value);
  4. auto OpenGLCompatibility = (CFBooleanRef)CFDictionaryGetValue(desc, kCVPixelFormatOpenGLCompatibility);
  5. auto OpenGLESCompatibility = (CFBooleanRef)CFDictionaryGetValue(desc, kCVPixelFormatOpenGLESCompatibility);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement