Show
Ignore:
Timestamp:
07/06/07 15:08:51 (7 years ago)
Author:
robert
Message:

Added include/osg/GLObjects + .cpp which provide osg::flush*DeletedGLObjects() methods.

Added and cleaned up DeleteHandler? calls in osgViewer to help avoid crashes on exit.

Changed DatabasePager? across to dynamically checcking osg::getCompileContext(..)

Updated wrappers.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/applications/osgviewer/osgviewer.cpp

    r7071 r7074  
    158158        int processNum = 0; 
    159159 
    160         osgDB::DatabasePager* dp = viewer.getScene()->getDatabasePager(); 
    161  
    162160        for(unsigned int i=0; i<osg::GraphicsContext::getMaxContextID(); ++i) 
    163161        { 
     
    172170                ++processNum; 
    173171            } 
    174  
    175             dp->addCompileGraphicsContext(gc); 
    176172        } 
    177173    }