Pages

Monday, January 7, 2013

Re: I need a solution for 10.5 Mac OS

FWIW, this gets me one CGLPixelFormatObject on my Mountain Lion system.

 

 

        //    if ( display == kCGNullDirectDisplay )    CGDirectDisplayID display = CGMainDisplayID();    attribs[2] = (CGLPixelFormatAttribute) CGDisplayIDToOpenGLDisplayMask(display);            /* Build a full-screen GL context */    CGError error = CGLChoosePixelFormat( attribs, &pixelFormatObj, &numPixelFormats );

View the original article here

0 comments:

Post a Comment