On Oct 3, 2008, at 9:46 AM, Albert Martin wrote:
videoLayer = [[CALayer layer] retain];
NSOpenGLPixelFormatAttribute attributes[] = {
NSOpenGLPFANoRecovery,
NSOpenGLPFAColorSize, 24,
NSOpenGLPFAAlphaSize, 8,
NSOpenGLPFADepthSize, 16,
I'll find a reference when I get a chance, but I recall reading
somewhere that what you're trying to do won't work. You will need to
use CAOpenGLLayer if you want to add sub-layers to it.
Just to test it, don't add the sub-layer and see if it shows up then.
If it doesn't then you may have o
Hello,
I am trying to programmatically create an NSOpenGLView and have it
layer-backed. I would use CAOpenGLLayer except that I am using a
subclass of NSOpenGLView and I don't have the time to rewrite it.
Now, for some reason I can not get the NSOpenGLView to show up. If I
use the same