Fixed warnings.

This commit is contained in:
Robert Osfield
2004-11-13 21:42:45 +00:00
parent 98a1108696
commit a0fc9632b8
4 changed files with 4 additions and 4 deletions

View File

@@ -606,7 +606,7 @@ bool Texture::isCompressedInternalFormat(GLint internalFormat) const
void Texture::getCompressedSize(GLenum internalFormat, GLint width, GLint height, GLint depth, GLint& blockSize, GLint& size) const
{
if (_internalFormat == GL_COMPRESSED_RGB_S3TC_DXT1_EXT || _internalFormat == GL_COMPRESSED_RGBA_S3TC_DXT1_EXT)
if (internalFormat == GL_COMPRESSED_RGB_S3TC_DXT1_EXT || internalFormat == GL_COMPRESSED_RGBA_S3TC_DXT1_EXT)
blockSize = 8;
else
blockSize = 16;