From 9ae7efd7e0b4cfe8b931ebe04b2f493675dfac45 Mon Sep 17 00:00:00 2001 From: ouv Date: Thu, 29 Sep 2005 15:49:23 +0000 Subject: [PATCH] To remove compilation error --- src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } -- 2.39.2