mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
Release FBO resources in OpenGl_GrabDepthElement::Release().
This commit is contained in:
@@ -202,14 +202,14 @@ namespace
|
||||
|
||||
Standard_EXPORT virtual void Release (OpenGl_Context* theContext)
|
||||
{
|
||||
//
|
||||
myFBO->Release (theContext);
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
Standard_EXPORT virtual ~OpenGl_GrabDepthElement()
|
||||
{
|
||||
//
|
||||
Release (NULL);
|
||||
}
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user