Show
Ignore:
Timestamp:
03/02/11 17:40:36 (4 years ago)
Author:
robert
Message:

Build fix

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgshadow/osgshadow.cpp

    r12199 r12201  
    774774    { 
    775775        osg::ref_ptr<osg::Camera> camera = new osg::Camera; 
    776         camera->setGraphicsContext(gc); 
     776        camera->setGraphicsContext(gc.get()); 
    777777        camera->setViewport(new osg::Viewport(0,0, width, height)); 
    778778 
     
    796796    { 
    797797        osg::ref_ptr<osg::Camera> camera = new osg::Camera; 
    798         camera->setGraphicsContext(gc); 
     798        camera->setGraphicsContext(gc.get()); 
    799799        camera->setViewport(new osg::Viewport(0,0, width, height)); 
    800800