mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +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:
@@ -33,7 +33,7 @@ public:
|
||||
virtual ~OpenGl_LineAttributes();
|
||||
|
||||
void Init (const Handle(OpenGl_Context)& theGlCtx);
|
||||
virtual void Release (const OpenGl_Context* theGlCtx);
|
||||
virtual void Release (OpenGl_Context* theGlCtx);
|
||||
|
||||
void SetTypeOfLine (const Aspect_TypeOfLine theType) const;
|
||||
|
||||
|
Reference in New Issue
Block a user