Fixed the TextureObject's + GLBufferObject reassignment to a new set.
Disabled the unref after apply for a Texture classes when the texture pool is enabled
This commit is contained in:
@@ -362,6 +362,7 @@ class OSG_EXPORT GLBufferObjectSet : public Referenced
|
||||
void addToBack(GLBufferObject* to);
|
||||
void orphan(GLBufferObject* to);
|
||||
void remove(GLBufferObject* to);
|
||||
void moveToSet(GLBufferObject* to, GLBufferObjectSet* set);
|
||||
|
||||
unsigned int size() const { return _profile._size * _numOfGLBufferObjects; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user