Show
Ignore:
Timestamp:
05/29/15 09:52:27 (10 hours ago)
Author:
robert
Message:

From Jannik Heller, fix for race condition in orphanded BufferObject? handling.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgViewer/PixelBufferCarbon.cpp

    r13041 r13130  
    8282 
    8383    // get any shared AGL contexts 
    84     GraphicsHandleCarbon* graphicsHandleCarbon = dynamic_cast<GraphicsHandleCarbon*>(_traits->sharedContext); 
     84    GraphicsHandleCarbon* graphicsHandleCarbon = dynamic_cast<GraphicsHandleCarbon*>(_traits->sharedContext.get()); 
    8585    if (graphicsHandleCarbon) 
    8686    {