restored original behaviour or release functions for (Buffer and Texture)

This commit is contained in:
Vladislav Vinogradov
2013-09-09 10:57:45 +04:00
parent b7eff94137
commit a0771630b0
2 changed files with 8 additions and 0 deletions

View File

@@ -122,6 +122,8 @@ Decrements the reference counter and destroys the buffer object if needed.
.. ocv:function:: void ogl::Buffer::release()
The function will call `setAutoRelease(true)` .
ogl::Buffer::setAutoRelease
@@ -323,6 +325,8 @@ Decrements the reference counter and destroys the texture object if needed.
.. ocv:function:: void ogl::Texture2D::release()
The function will call `setAutoRelease(true)` .
ogl::Texture2D::setAutoRelease