diff --git a/include/osg/State b/include/osg/State index a3b5ce51e..8eef4b040 100644 --- a/include/osg/State +++ b/include/osg/State @@ -31,7 +31,7 @@ namespace osg { #endif #ifndef GL_SECONDARY_COLOR_ARRAY - #ifdef GL_SECONDARY_COLOR_ARRAY + #ifdef GL_SECONDARY_COLOR_ARRAY_EXT #define GL_SECONDARY_COLOR_ARRAY GL_SECONDARY_COLOR_ARRAY_EXT #else #define GL_SECONDARY_COLOR_ARRAY 0x845E