From a7a6709d0571277bf459173afe324cabdc096c00 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 1 Oct 2004 09:38:21 +0000 Subject: [PATCH] Added define of GL_TEXTURE_BINDING_3D for systems with OpenGL1.2 compliant headers --- include/osg/Texture | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/osg/Texture b/include/osg/Texture index 7afc347d9..852cbc0e1 100644 --- a/include/osg/Texture +++ b/include/osg/Texture @@ -136,6 +136,10 @@ #define GL_TEXTURE_3D 0x806F #endif +#ifndef GL_TEXTURE_3D +#define GL_TEXTURE_BINDING_3D 0x806A +#endif + #ifndef GL_TEXTURE_COMPARE_MODE_ARB #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C