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/api/Cocoa/GraphicsWindowCocoa

    r12938 r13130  
    7777                getState()->setGraphicsContext(this); 
    7878 
    79                 if (_traits.valid() && _traits->sharedContext) 
     79                if (_traits.valid() && _traits->sharedContext.valid()) 
    8080                { 
    8181                    getState()->setContextID( _traits->sharedContext->getState()->getContextID() );