diff options
author | Ian Romanick <[email protected]> | 2011-07-22 16:45:50 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-07-25 19:57:24 -0700 |
commit | b189d1635d89cd7d900e8f9a5eed88d7dc0b46cb (patch) | |
tree | 081d9086a8b10f93739e1b89b38d972ea025399b /src/mesa/main/texcompress.h | |
parent | 143b65f7612c255f29d08392192098b1c2bf4b62 (diff) |
mesa: Make _mesa_get_compressed_formats match the texture compression specs
The implementation deviated slightly from the GL_EXT_texture_sRGB spec
and from other implementations. A giant comment block was added to
justify the somewhat odd behavior of this function.
In addition, the interface had unnecessary cruft. The 'all' parameter
was false at all callers, so it has been removed.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress.h')
-rw-r--r-- | src/mesa/main/texcompress.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress.h b/src/mesa/main/texcompress.h index 922da00912d..375cf90c8a2 100644 --- a/src/mesa/main/texcompress.h +++ b/src/mesa/main/texcompress.h @@ -37,7 +37,7 @@ extern GLenum _mesa_gl_compressed_format_base_format(GLenum format); extern GLuint -_mesa_get_compressed_formats(struct gl_context *ctx, GLint *formats, GLboolean all); +_mesa_get_compressed_formats(struct gl_context *ctx, GLint *formats); extern gl_format _mesa_glenum_to_compressed_format(GLenum format); |