diff --git a/include/osg/Texture b/include/osg/Texture index b8278760a..7a4c64eb5 100644 --- a/include/osg/Texture +++ b/include/osg/Texture @@ -117,6 +117,10 @@ #define GL_MAX_TEXTURE_UNITS 0x84E2 #endif +#ifndef GL_TEXTURE_DEPTH +#define GL_TEXTURE_DEPTH 0x8071 +#endif + namespace osg { /** Texture base class which encapsulates OpenGl texture functionality which common betweent the various types of OpenGL textures.*/