From 0bd4d303e38779ac038ce1529510ba14ddcda5c3 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 11 Sep 2007 16:59:19 +0000 Subject: [PATCH] From Art Tevs, build fix. --- include/osg/GL2Extensions | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/include/osg/GL2Extensions b/include/osg/GL2Extensions index 3c5999458..ab837f6de 100644 --- a/include/osg/GL2Extensions +++ b/include/osg/GL2Extensions @@ -24,15 +24,12 @@ #include -#ifndef GL_VERSION_2_1 //[ -#define GL_VERSION_2_1 1 - -#define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0 -#define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1 -#define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3 -#define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4 - -#endif //] +#ifndef GL_SAMPLER_2D_ARRAY_EXT + #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0 + #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1 + #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3 + #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4 +#endif #ifndef GL_VERSION_2_0 //[