1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-26 11:05:31 +03:00

0024671: TKOpenGl, OpenGl_Context - glGetPointerv might be called without GL context

This commit is contained in:
osa 2014-02-28 10:17:21 +04:00 committed by abv
parent 0f293ebab3
commit 3fe0074677

View File

@ -146,7 +146,8 @@ OpenGl_Context::~OpenGl_Context()
myDelayed.Nullify();
if (arbDbg != NULL
&& caps->contextDebug)
&& caps->contextDebug
&& IsValid())
{
// reset callback
void* aPtr = NULL;