Show
Ignore:
Timestamp:
07/29/14 17:50:55 (11 hours ago)
Author:
robert
Message:

Added preliminary icon to ComboBox?.

Files:
1 modified

Legend:

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

    r13041 r13130  
    4444        getState()->setGraphicsContext(this); 
    4545 
    46         if (_traits.valid() && _traits->sharedContext) 
     46        if (_traits.valid() && _traits->sharedContext.valid()) 
    4747        { 
    4848            getState()->setContextID( _traits->sharedContext->getState()->getContextID() ); 
     
    217217 
    218218    // get any shared GLX contexts 
    219     GraphicsHandleX11* graphicsHandleX11 = dynamic_cast<GraphicsHandleX11*>(_traits->sharedContext); 
     219    GraphicsHandleX11* graphicsHandleX11 = dynamic_cast<GraphicsHandleX11*>(_traits->sharedContext.get()); 
    220220    Context sharedContext = graphicsHandleX11 ? graphicsHandleX11->getContext() : 0; 
    221221