Show
Ignore:
Timestamp:
12/19/14 16:43:31 (3 days ago)
Author:
robert
Message:

Release OpenSceneGraph-3.3.3

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgViewer/PixelBufferWin32.cpp

    r13041 r13130  
    464464        getState()->setGraphicsContext( this ); 
    465465 
    466         if (_traits.valid() && _traits->sharedContext ) 
     466        if (_traits.valid() && _traits->sharedContext.valid() ) 
    467467        { 
    468468            getState()->setContextID( _traits->sharedContext->getState()->getContextID() ); 
     
    659659    if (!_initialized) return false; 
    660660 
    661     if ( _traits->sharedContext ) 
    662     { 
    663         GraphicsHandleWin32* graphicsHandleWin32 = dynamic_cast<GraphicsHandleWin32*>(_traits->sharedContext); 
     661    if ( _traits->sharedContext.valid() ) 
     662    { 
     663        GraphicsHandleWin32* graphicsHandleWin32 = dynamic_cast<GraphicsHandleWin32*>(_traits->sharedContext.get()); 
    664664        if (graphicsHandleWin32) 
    665665        {