From: ouv Date: Tue, 6 Sep 2005 07:12:04 +0000 (+0000) Subject: some ifdef's added for compatibility X-Git-Tag: BR-D5-38-2003_D2005-12-09~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b36ede0bf59837ac57d3bd04710e7fbe0dd8cc3d;p=modules%2Fvisu.git some ifdef's added for compatibility --- diff --git a/src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx b/src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx index 81504175..74f069f7 100755 --- a/src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx +++ b/src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx @@ -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() {