Changeset 10756

Show
Ignore:
Timestamp:
11/16/09 15:58:31 (4 years ago)
Author:
robert
Message:

Removed throw.

Location:
OpenSceneGraph/trunk/src/osg
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osg/BufferObject.cpp

    r10755 r10756  
    498498        osg::notify(osg::NOTICE)<<"    _pendingOrphanedGLBufferObjects.size() = "<<_pendingOrphanedGLBufferObjects.size()<<std::endl; 
    499499        osg::notify(osg::NOTICE)<<"    _numOfGLBufferObjects = "<<_numOfGLBufferObjects<<std::endl; 
    500         throw "Error numInList + _orphanedGLBufferObjects.size() != _numOfGLBufferObjects"; 
     500        return false; 
    501501    } 
    502502 
  • OpenSceneGraph/trunk/src/osg/Texture.cpp

    r10755 r10756  
    4949 
    5050// #define DO_TIMING 
    51  
    52 #define CHECK_CONSISTENCY 
     51// #define CHECK_CONSISTENCY 
    5352 
    5453namespace osg { 
     
    211210        osg::notify(osg::NOTICE)<<"    _pendingOrphanedTextureObjects.size() = "<<_pendingOrphanedTextureObjects.size()<<std::endl; 
    212211        osg::notify(osg::NOTICE)<<"    _numOfTextureObjects = "<<_numOfTextureObjects<<std::endl; 
    213         throw "Error numInList + _orphanedTextureObjects.size() != _numOfTextureObjects"; 
     212        return false; 
    214213    } 
    215214