Show
Ignore:
Timestamp:
03/31/15 12:41:33 (less than one hour ago)
Author:
robert
Message:

Refactor the RTT Camera resize code into a seperate Callback method in prep for this all being done by a single Camera API call.

Files:
1 modified

Legend:

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

    r13041 r13130  
    400400    AGLContext sharedContextCarbon = NULL; 
    401401 
    402     GraphicsHandleCarbon* graphicsHandleCarbon = dynamic_cast<GraphicsHandleCarbon*>(_traits->sharedContext); 
     402    GraphicsHandleCarbon* graphicsHandleCarbon = dynamic_cast<GraphicsHandleCarbon*>(_traits->sharedContext.get()); 
    403403    if (graphicsHandleCarbon) 
    404404    {