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/GraphicsWindowX11.cpp

    r13041 r13130  
    718718 
    719719    // get any shared GLX contexts 
    720     GraphicsHandleX11* graphicsHandleX11 = dynamic_cast<GraphicsHandleX11*>(_traits->sharedContext); 
     720    GraphicsHandleX11* graphicsHandleX11 = dynamic_cast<GraphicsHandleX11*>(_traits->sharedContext.get()); 
    721721    Context sharedContext = graphicsHandleX11 ? graphicsHandleX11->getContext() : 0; 
    722722