Added missing isCompressedInternalFormat() method.

This commit is contained in:
Robert Osfield
2002-09-18 16:05:26 +00:00
parent c918116ef1
commit 9a9e88b78a

View File

@@ -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)