diff --git a/src/osg/Texture.cpp b/src/osg/Texture.cpp index f4bda46aa..e9e871e15 100644 --- a/src/osg/Texture.cpp +++ b/src/osg/Texture.cpp @@ -11,7 +11,7 @@ #include -#ifndef PFNGLCOMPRESSEDTEXIMAGE2DARBPROC +#ifndef GL_ARB_texture_compression typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); #endif