Show
Ignore:
Timestamp:
08/28/14 17:11:29 (4 days ago)
Author:
robert
Message:

Improved support for controlling the ShadingModel? via the VolumeSettings? object

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgviewerFOX/FOX_OSG.cpp

    r12292 r13130  
    4949                getState()->setGraphicsContext(this); 
    5050 
    51                 if (_traits.valid() && _traits->sharedContext) 
     51                if (_traits.valid() && _traits->sharedContext.valid()) 
    5252                { 
    5353                        getState()->setContextID( _traits->sharedContext->getState()->getContextID() );