Show
Ignore:
Timestamp:
01/08/07 20:29:59 (7 years ago)
Author:
robert
Message:

Changed the return types of makeCurrent to bool, and added a bool GraphicsContext::releaseContext method
along with implementations in osgViewer.

Files:
1 modified

Legend:

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

    r5933 r5934  
    7171 
    7272 
    73     unsigned int numCameras = 4; 
     73    unsigned int numCameras = 6; 
    7474    double aspectRatioScale = (double)numCameras; 
    7575    double translate_x = double(numCameras)-1; 
     
    7777    { 
    7878        osg::ref_ptr<osg::GraphicsContext::Traits> traits = new osg::GraphicsContext::Traits; 
    79         traits->screenNum = i / 2; 
     79        traits->screenNum = i / 3; 
    8080        traits->x = (i*width)/numCameras; 
    8181        traits->y = 0;