mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0025133: TKOpenGl - Crash on closing a view containing presentations with capping
OpenGl_Element destruction and resource deallocation methods now accept a pointer to OpenGl_Context instead of a handle to avoid double deletion of the context.
This commit is contained in:
@@ -41,7 +41,7 @@ public:
|
||||
Standard_EXPORT virtual ~OpenGl_FrameBuffer();
|
||||
|
||||
//! Destroy object - will release GPU memory if any.
|
||||
Standard_EXPORT virtual void Release (const OpenGl_Context* theGlCtx);
|
||||
Standard_EXPORT virtual void Release (OpenGl_Context* theGlCtx);
|
||||
|
||||
//! Textures width.
|
||||
GLsizei GetSizeX() const
|
||||
|
Reference in New Issue
Block a user