projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33463ee
)
0032970: Visualization, TKOpenGl - fix compilation on Linux: 'False' was not declared
author
kgv
<kgv@opencascade.com>
Sat, 14 May 2022 22:11:06 +0000
(
01:11
+0300)
committer
kgv
<kgv@opencascade.com>
Sat, 14 May 2022 22:11:06 +0000
(
01:11
+0300)
src/OpenGl/OpenGl_Context.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/OpenGl/OpenGl_Context.cxx
b/src/OpenGl/OpenGl_Context.cxx
index
d501804
..
90de0f2
100644
(file)
--- 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");
}