From Jean-Sebastien Guay, "Changeset 10833 renames discardAllDeletedGLObjects() to discardAllGLObjects() in src/osg/GLObjects.cpp, but the declaration of the function in include/osg/GLObjects remained. So an app using an old version of OSG that called this function would now fail with a linker error instead of a compile error as it should.
Removed the declaration. Also fixed a small typo in the following doxygen comment."
This commit is contained in:
parent
eb3d76f291
commit
73a4e775c0
@ -30,15 +30,8 @@ extern OSG_EXPORT void flushAllDeletedGLObjects(unsigned int contextID);
|
||||
* Note, must be called from a thread which has current the graphics context associated with contextID. */
|
||||
extern OSG_EXPORT void deleteAllGLObjects(unsigned int contextID);
|
||||
|
||||
/** Discard all deleted OpenGL objects.
|
||||
* Note, unlike flushAllDeletedObjectObjects discard does not
|
||||
* do any OpenGL calls so can be called from any thread, but as a consequence it
|
||||
* also doesn't remove the associated OpenGL resource so discard should only be
|
||||
* called when the associated graphics context is being/has been closed. */
|
||||
extern OSG_EXPORT void discardAllDeletedGLObjects(unsigned int contextID);
|
||||
|
||||
/** Discard all OpenGL objects.
|
||||
* Note, unlike deletedAllObjectObjects discard does not
|
||||
* Note, unlike deleteAllObjectObjects discard does not
|
||||
* do any OpenGL calls so can be called from any thread, but as a consequence it
|
||||
* also doesn't remove the associated OpenGL resource so discard should only be
|
||||
* called when the associated graphics context is being/has been closed. */
|
||||
|
Loading…
Reference in New Issue
Block a user