Show
Ignore:
Timestamp:
10/21/14 17:10:27 (10 days ago)
Author:
robert
Message:

Added shaders to support experimental shader based displacement mapping technique osgTerrain::ShaderTerrain?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgViewer/GraphicsWindow

    r12305 r13130  
    248248                getState()->setGraphicsContext(this); 
    249249 
    250                 if (_traits.valid() && _traits->sharedContext) 
     250                if (_traits.valid() && _traits->sharedContext.valid()) 
    251251                { 
    252252                    getState()->setContextID( _traits->sharedContext->getState()->getContextID() );