Show
Ignore:
Timestamp:
05/24/13 19:16:57 (4 hours ago)
Author:
robert
Message:

Resrtuctured the use of static's in the Uniform::getNameID() method to avoid problems under Android.

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    {