Show
Ignore:
Timestamp:
11/20/14 18:37:52 (9 hours ago)
Author:
robert
Message:

From Claus Steuer, "XCode 6, IOs 8.1 SDK Compile fix : There are some undefined texture formats when compiling osg for IOs 8.1 with XCode 6 and OpenGLES2 enabled."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgViewer/PixelBufferCocoa.mm

    r13036 r13130  
    6464    NSOpenGLContext* sharedContext = NULL; 
    6565     
    66     GraphicsHandleCocoa* graphicsHandleCocoa = dynamic_cast<GraphicsHandleCocoa*>(_traits->sharedContext); 
     66    GraphicsHandleCocoa* graphicsHandleCocoa = dynamic_cast<GraphicsHandleCocoa*>(_traits->sharedContext.get()); 
    6767    if (graphicsHandleCocoa)  
    6868    {