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:
@@ -32,7 +32,7 @@ public:
|
||||
Standard_EXPORT virtual ~OpenGl_PointSprite();
|
||||
|
||||
//! Destroy object - will release GPU memory if any.
|
||||
Standard_EXPORT virtual void Release (const OpenGl_Context* theCtx);
|
||||
Standard_EXPORT virtual void Release (OpenGl_Context* theCtx);
|
||||
|
||||
//! @return true if this is display list bitmap
|
||||
inline Standard_Boolean IsDisplayList() const
|
||||
|
Reference in New Issue
Block a user