diff --git a/src/osg/Texture.cpp b/src/osg/Texture.cpp index dc4fa9952..a2216ad44 100644 --- a/src/osg/Texture.cpp +++ b/src/osg/Texture.cpp @@ -227,6 +227,11 @@ void Texture::computeInternalFormatWithImage(osg::Image& image) const _internalFormat = internalFormat; } +bool Texture::isCompressedInternalFormat() const +{ + return isCompressedInternalFormat(getInternalFormat()); +} + bool Texture::isCompressedInternalFormat(GLint internalFormat) const { switch(internalFormat)