Added support for setting the maximum number of graphics contexts that the

OSG has to maintian.
This commit is contained in:
Robert Osfield
2002-02-28 00:11:31 +00:00
parent 384b23ea62
commit 2973ca0a25
8 changed files with 81 additions and 24 deletions

View File

@@ -15,6 +15,8 @@ Drawable::DeletedDisplayListCache Drawable::s_deletedDisplayListCache;
Drawable::Drawable()
{
_globjList.resize(DisplaySettings::instance()->getMaxNumberOfGraphicsContexts(),0);
_bbox_computed = false;
// Note, if your are defining a subclass from drawable which is