Show
Ignore:
Timestamp:
11/19/08 21:34:53 (6 years ago)
Author:
robert
Message:

Reverted Kyle Centers mistaken patch that removed a _currentContext->valid() that was actually required.

Files:
1 modified

Legend:

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

    r9114 r9186  
    252252        inline void releaseContext() 
    253253        { 
    254             if (_currentContext.valid()) 
     254            if (_currentContext.valid() && _currentContext->valid()) 
    255255            { 
    256256                _currentContext->releaseContext();