From: ouv Date: Thu, 29 Sep 2005 15:49:23 +0000 (+0000) Subject: To remove compilation error X-Git-Tag: BR-D5-38-2003_D2005-12-10~104 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9ae7efd7e0b4cfe8b931ebe04b2f493675dfac45;p=modules%2Fvisu.git To remove compilation error --- diff --git a/src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx b/src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx index e7259462..1a25cd82 100755 --- a/src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx +++ b/src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx @@ -646,14 +646,14 @@ void VISU_OpenGLPointSpriteMapper::CleanupPointSprites() glEnable( GL_DEPTH_TEST ); glEnable( GL_LIGHTING ); glEnable( GL_COLOR_MATERIAL ); - + /* // Reset Quadratic Attenuation parameters PFNGLPOINTPARAMETERFVARBPROC glPointParameterfvARB = (PFNGLPOINTPARAMETERFVARBPROC)dlsym( this->OpenGLLibrary, "glPointParameterfvARB" ); float quadratic[] = {1, 0, 0}; glPointParameterfvARB( GL_POINT_DISTANCE_ATTENUATION_ARB, quadratic ); - + */ glDisable( GL_VERTEX_PROGRAM_POINT_SIZE_ARB ); glDisable( GL_POINT_SPRITE_ARB ); }