Removed throw.

This commit is contained in:
Robert Osfield
2009-11-16 14:58:31 +00:00
parent d4c58cf1a1
commit 03e95d97f1
2 changed files with 3 additions and 4 deletions

View File

@@ -497,7 +497,7 @@ bool GLBufferObjectSet::checkConsistency() const
osg::notify(osg::NOTICE)<<" _orphanedGLBufferObjects.size() = "<<_orphanedGLBufferObjects.size()<<std::endl;
osg::notify(osg::NOTICE)<<" _pendingOrphanedGLBufferObjects.size() = "<<_pendingOrphanedGLBufferObjects.size()<<std::endl;
osg::notify(osg::NOTICE)<<" _numOfGLBufferObjects = "<<_numOfGLBufferObjects<<std::endl;
throw "Error numInList + _orphanedGLBufferObjects.size() != _numOfGLBufferObjects";
return false;
}
return true;

View File

@@ -48,8 +48,7 @@
#endif
// #define DO_TIMING
#define CHECK_CONSISTENCY
// #define CHECK_CONSISTENCY
namespace osg {
@@ -210,7 +209,7 @@ bool Texture::TextureObjectSet::checkConsistency() const
osg::notify(osg::NOTICE)<<" _orphanedTextureObjects.size() = "<<_orphanedTextureObjects.size()<<std::endl;
osg::notify(osg::NOTICE)<<" _pendingOrphanedTextureObjects.size() = "<<_pendingOrphanedTextureObjects.size()<<std::endl;
osg::notify(osg::NOTICE)<<" _numOfTextureObjects = "<<_numOfTextureObjects<<std::endl;
throw "Error numInList + _orphanedTextureObjects.size() != _numOfTextureObjects";
return false;
}
return true;