diff --git a/include/osg/GLBeginEndAdapter b/include/osg/GLBeginEndAdapter index de67ea7f6..dad1578b5 100644 --- a/include/osg/GLBeginEndAdapter +++ b/include/osg/GLBeginEndAdapter @@ -18,6 +18,10 @@ #include #include +#ifndef GL_TEXTURE0 +#define GL_TEXTURE0 0x84C0 +#endif + namespace osg { // forward declare