From 9a9e88b78acd4d4ee2257778f9b706020dd301ed Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 18 Sep 2002 16:05:26 +0000 Subject: [PATCH] Added missing isCompressedInternalFormat() method. --- src/osg/Texture.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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)