diff options
author | Brian Paul <[email protected]> | 2009-10-24 16:49:57 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-24 16:50:00 -0600 |
commit | d6ee86c77a8e1543557fd64c1f1c354baa0a8ad8 (patch) | |
tree | d281f3f9f02a86e91b4ea705a388406fa01b77ef /src/mesa/main/texparam.c | |
parent | 4c00981b22b28141af1442e5a679d0923b4358ae (diff) |
mesa: remove _mesa_compressed_texture_size()
Use _mesa_format_image_size() instead.
Diffstat (limited to 'src/mesa/main/texparam.c')
-rw-r--r-- | src/mesa/main/texparam.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mesa/main/texparam.c b/src/mesa/main/texparam.c index a6b611dffb2..afa66f149ce 100644 --- a/src/mesa/main/texparam.c +++ b/src/mesa/main/texparam.c @@ -853,12 +853,8 @@ _mesa_GetTexLevelParameteriv( GLenum target, GLint level, /* GL_ARB_texture_compression */ case GL_TEXTURE_COMPRESSED_IMAGE_SIZE: if (_mesa_is_format_compressed(img->TexFormat) && !isProxy) { - /* Don't use ctx->Driver.CompressedTextureSize() since that - * may returned a padded hardware size. - */ - *params = _mesa_compressed_texture_size(ctx, img->Width, - img->Height, img->Depth, - texFormat); + *params = _mesa_format_image_size(texFormat, img->Width, + img->Height, img->Depth); } else { _mesa_error(ctx, GL_INVALID_OPERATION, |