From: ouv Date: Tue, 6 Sep 2005 07:15:26 +0000 (+0000) Subject: some ifdef's added for compatibility X-Git-Tag: BR-D5-38-2003_D2005-12-09~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=630476ed110af9b589b1f08d1107ee2c6222361c;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 74f069f7..d12d0649 100755 --- a/src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx +++ b/src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx @@ -91,6 +91,11 @@ PFNGLGETOBJECTPARAMETERIVARBPROC glGetObjectParameterivARB = NULL; PFNGLGETINFOLOGARBPROC glGetInfoLogARB = NULL; #endif +#ifndef GL_ARB_point_sprite +#define GL_POINT_SPRITE_ARB 0x8861 +#define GL_COORD_REPLACE_ARB 0x8862 +#endif + unsigned int shaderId; //-----------------------------------------------------------------------------