From 341267d898a58594738cb18ab492b76af32d5e89 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 8 Jan 2005 10:21:49 +0000 Subject: [PATCH] Tweaked the #define's of GL_ALPHA_MIN_SGIX and GL_ALPHA_MAX_SGIX to ensure compilation across OGL drivers. --- include/osg/BlendEquation | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/osg/BlendEquation b/include/osg/BlendEquation index 67fb47d27..49cdaa031 100644 --- a/include/osg/BlendEquation +++ b/include/osg/BlendEquation @@ -23,12 +23,13 @@ #define GL_FUNC_ADD 0x8006 #define GL_FUNC_SUBTRACT 0x800A #define GL_FUNC_REVERSE_SUBTRACT 0x800B -#define GL_ALPHA_MIN_SGIX 0x8320 -#define GL_ALPHA_MAX_SGIX 0x8321 #define GL_LOGIC_OP 0x0BF1 #endif - +#ifndef GL_ALPHA_MIN_SGIX +#define GL_ALPHA_MIN_SGIX 0x8320 +#define GL_ALPHA_MAX_SGIX 0x8321 +#endif namespace osg {