From 33b0ceac0d317c0c175c3da20625cac54e2ff81b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 23 Mar 2002 10:55:29 +0000 Subject: [PATCH] Added GL_TEXTURE_3D definition for those with gl.h headers which don't contain it. --- include/osg/Texture | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/osg/Texture b/include/osg/Texture index e508d25bc..87199db92 100644 --- a/include/osg/Texture +++ b/include/osg/Texture @@ -55,7 +55,7 @@ #endif #ifndef GL_CLAMP_TO_BORDER_ARB -#define GL_CLAMP_TO_BORDER_ARB 0x812D +#define GL_CLAMP_TO_BORDER_ARB 0x812D #endif #ifndef GL_GENERATE_MIPMAP_SGIS @@ -63,6 +63,9 @@ #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 #endif +#ifndef GL_TEXTURE_3D +#define GL_TEXTURE_3D 0x806F +#endif namespace osg {