0024230: TKOpenGl - request debug context by default in debug mode
[occt.git] / src / OpenGl / OpenGl_Caps.cxx
index e5b3c99..39c14a8 100644 (file)
@@ -30,7 +30,11 @@ OpenGl_Caps::OpenGl_Caps()
 : vboDisable        (Standard_False),
   pntSpritesDisable (Standard_False),
   contextStereo     (Standard_False),
+#ifdef DEB
+  contextDebug      (Standard_True),
+#else
   contextDebug      (Standard_False),
+#endif
   contextNoAccel    (Standard_False)
 {
   //