From b36ede0bf59837ac57d3bd04710e7fbe0dd8cc3d Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 6 Sep 2005 07:12:04 +0000 Subject: [PATCH] some ifdef's added for compatibility --- src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx | 2 ++ 1 file changed, 2 insertions(+) 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() { -- 2.39.2