]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
some ifdef's added for compatibility
authorouv <ouv@opencascade.com>
Tue, 6 Sep 2005 07:12:04 +0000 (07:12 +0000)
committerouv <ouv@opencascade.com>
Tue, 6 Sep 2005 07:12:04 +0000 (07:12 +0000)
src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx

index 81504175b762da6025ee0e5904a228a08d5a6f1f..74f069f7c1da13fbb34abaf9077a4d9a881cbe88 100755 (executable)
@@ -203,6 +203,7 @@ char* readFromFile( std::string fileName )
   return content;
 }
 //-----------------------------------------------------------------------------
+#ifdef GL_ARB_shader_objects
 void printInfoLog( GLhandleARB obj )
 {
   int infologLength = 0;
@@ -219,6 +220,7 @@ void printInfoLog( GLhandleARB obj )
     free( infoLog );
   }
 }
+#endif
 //-----------------------------------------------------------------------------
 void initShader()
 {