Show
Ignore:
Timestamp:
08/22/14 21:00:53 (24 hours ago)
Author:
robert
Message:

Improved handling of setting of the depth of the UI.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgViewer/api/Carbon/PixelBufferCarbon

    r12292 r13130  
    4646                getState()->setGraphicsContext(this); 
    4747 
    48                 if (_traits.valid() && _traits->sharedContext) 
     48                if (_traits.valid() && _traits->sharedContext.valid()) 
    4949                { 
    5050                    getState()->setContextID( _traits->sharedContext->getState()->getContextID() );