From b67de419916f66675c91be38bd838612f02d20ba Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 17 Nov 2006 20:45:29 +0000 Subject: [PATCH] Rearranged the #ifdef's to prevent compile problems under NVidia 2.1 OGL drivers --- include/osg/PointSprite | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/osg/PointSprite b/include/osg/PointSprite index e99977f12..4cc63ca1d 100644 --- a/include/osg/PointSprite +++ b/include/osg/PointSprite @@ -20,6 +20,9 @@ #ifndef GL_ARB_point_sprite #define GL_POINT_SPRITE_ARB 0x8861 #define GL_COORD_REPLACE_ARB 0x8862 +#endif + +#ifndef GL_POINT_SPRITE_COORD_ORIGIN #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 #define GL_LOWER_LEFT 0x8CA1 #define GL_UPPER_LEFT 0x8CA2