1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +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:
san
2014-08-28 11:55:06 +04:00
committed by bugmaster
parent 4769a39529
commit 10b9c7dfc0
48 changed files with 95 additions and 88 deletions

View File

@@ -108,7 +108,7 @@ Standard_Boolean OpenGl_FrameBuffer::Init (const Handle(OpenGl_Context)& theGlCo
// function : Release
// purpose :
// =======================================================================
void OpenGl_FrameBuffer::Release (const OpenGl_Context* theGlCtx)
void OpenGl_FrameBuffer::Release (OpenGl_Context* theGlCtx)
{
if (isValidFrameBuffer())
{