From: kgv Date: Sat, 14 May 2022 22:11:06 +0000 (+0300) Subject: 0032970: Visualization, TKOpenGl - fix compilation on Linux: 'False' was not declared X-Git-Tag: V7_7_0_beta~102 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=6036998511a7b54b3d05e3b63953d2e59c244350;p=occt.git 0032970: Visualization, TKOpenGl - fix compilation on Linux: 'False' was not declared --- diff --git a/src/OpenGl/OpenGl_Context.cxx b/src/OpenGl/OpenGl_Context.cxx index d501804256..90de0f20cb 100644 --- a/src/OpenGl/OpenGl_Context.cxx +++ b/src/OpenGl/OpenGl_Context.cxx @@ -1818,7 +1818,7 @@ void OpenGl_Context::MemoryInfo (TColStd_IndexedDataMapOfStringString& theDict) if (myFuncs->glXQueryCurrentRendererIntegerMESA != NULL) { unsigned int aVMemMiB = 0; - if (myFuncs->glXQueryCurrentRendererIntegerMESA (GLX_RENDERER_VIDEO_MEMORY_MESA, &aVMemMiB) != False) + if (myFuncs->glXQueryCurrentRendererIntegerMESA (GLX_RENDERER_VIDEO_MEMORY_MESA, &aVMemMiB) != 0) { addInfo (theDict, "GPU memory", TCollection_AsciiString() + int(aVMemMiB) + " MiB"); }