From 30c35cb407061e7b7d1d9b06e15e7eeffebc6db3 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 3 Sep 2012 09:08:16 +0000 Subject: [PATCH] Adjusted the #define's to help GLES2 build --- include/osg/GL2Extensions | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/osg/GL2Extensions b/include/osg/GL2Extensions index 16b5f0bab..2d4525ae3 100644 --- a/include/osg/GL2Extensions +++ b/include/osg/GL2Extensions @@ -129,7 +129,12 @@ typedef char GLchar; #if !defined(GL_SAMPLER_1D) #define GL_SAMPLER_1D 0x8B5D +#endif +#if !defined(GL_SAMPLER_3D) #define GL_SAMPLER_3D 0x8B5F +#endif + +#if !defined(GL_SAMPLER_1D_SHADOW) #define GL_SAMPLER_1D_SHADOW 0x8B61 #define GL_SAMPLER_2D_SHADOW 0x8B62 #endif