]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
SWP12791
authorouv <ouv@opencascade.com>
Thu, 6 Jul 2006 12:54:20 +0000 (12:54 +0000)
committerouv <ouv@opencascade.com>
Thu, 6 Jul 2006 12:54:20 +0000 (12:54 +0000)
src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx
src/PIPELINE/VISU_PipeLine.cxx

index b3ce79e7a63f04a207521af9301e98942076c42b..4bdf8611a0bbe353c5e9b0fa98685783a69e9eed 100755 (executable)
@@ -393,10 +393,7 @@ bool VISU_OpenGLPointSpriteMapper::InitExtensions()
       strstr( ext, "GL_ARB_shader_objects" ) == NULL ||
       strstr( ext, "GL_ARB_vertex_buffer_object" ) == NULL )
   {
-#ifdef _DEBUG
     vtkWarningMacro(<<"Initializing ARB extensions failed");
-#endif
-
     this->UseOpenGLMapper = true;
 
     return false;
index 91e05edb700fa084d2928f26cd63e259ea494f59..9c553cf952993b30a872adff4e6a88dc07f13231 100644 (file)
@@ -59,6 +59,7 @@ VISU_PipeLine
 {
   if(MYDEBUG) MESSAGE("VISU_PipeLine::VISU_PipeLine - "<<this);
   SetDebug(MYVTKDEBUG);
+  vtkObject::SetGlobalWarningDisplay(MYVTKDEBUG);
 
   myMapper->Delete();