Updates to the flush rendering objects function calls to allow for
managment of amount of time available to do gl delete's. This control is required for constant frame rate applications.
This commit is contained in:
@@ -309,7 +309,9 @@ public:
|
||||
|
||||
sh.drawImplementation(camera);
|
||||
|
||||
_databasePager->compileRenderingObjects(*(sh.getSceneView()->getState()));
|
||||
double availableTime = 0.005; // 5 ms
|
||||
|
||||
_databasePager->compileRenderingObjects(*(sh.getSceneView()->getState()),availableTime);
|
||||
}
|
||||
|
||||
osg::ref_ptr<DatabasePager> _databasePager;
|
||||
|
||||
Reference in New Issue
Block a user