diff --git a/src/osg/glu/libutil/mipmap.cpp b/src/osg/glu/libutil/mipmap.cpp index f2c027872..2b9ff9399 100644 --- a/src/osg/glu/libutil/mipmap.cpp +++ b/src/osg/glu/libutil/mipmap.cpp @@ -35,6 +35,10 @@ // simply define GLAPIENTRY as nothing so that we can keep function signatures the same as declaration. #define GLAPIENTRY +#ifndef GL_PROXY_TEXTURE_3D + #define GL_PROXY_TEXTURE_3D 0x8070 +#endif + // #include "gluos.h" // #include