Hi,

Am 01.03.12 21:45, schrieb Paul Martz:
> But to my knowledge no one has contributed code to make it work on OS X
> or Linux. Please do so, if you need that functionality.

Besides the specific CMAKE_VARIABLES to get Open GL 3 support on OS X
GraphicsWindowCocoa needs some love when creating a graphics context.

Just setting the NSPixelFormat to

NSOpenGLPixelFormatAttribute pixelFormatAttributes[] =
{
    NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion3_2Core,
    0
};

when compiling for Open GL 3 should help.

cheers,
Stephan


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to