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