diff --git a/include/osg/GLObjects b/include/osg/GLObjects index a7570ed33..2c3a52277 100644 --- a/include/osg/GLObjects +++ b/include/osg/GLObjects @@ -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. */