]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To make compilable
authorapo <apo@opencascade.com>
Wed, 5 Oct 2005 16:05:49 +0000 (16:05 +0000)
committerapo <apo@opencascade.com>
Wed, 5 Oct 2005 16:05:49 +0000 (16:05 +0000)
src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx

index 9f651445907ae2baaaf7b84084fcf854f8e52a21..94739f9a4476bbfd6b4fd99b588a5b4c23587dd8 100755 (executable)
@@ -811,9 +811,9 @@ void VISU_OpenGLPointSpriteMapper::DrawPoints(int idx,
 
   glDisableClientState(GL_COLOR_ARRAY);
   glDisableClientState(GL_VERTEX_ARRAY);
-#endif
 
   glUseProgramObjectARB( 0 );
+#endif
 
   if( this->UsePointSprites )
     this->CleanupPointSprites();