Show
Ignore:
Timestamp:
07/28/14 18:19:44 (18 hours ago)
Author:
robert
Message:

Added handling of Drawables added directly to scene graph without Geode decorating them.

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    {