summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2011-07-22 16:45:50 -0700
committerIan Romanick <ian.d.romanick@intel.com>2011-07-25 19:57:24 -0700
commitb189d1635d89cd7d900e8f9a5eed88d7dc0b46cb (patch)
tree081d9086a8b10f93739e1b89b38d972ea025399b /src/mesa/main/texcompress.h
parent143b65f7612c255f29d08392192098b1c2bf4b62 (diff)
downloadexternal_mesa3d-b189d1635d89cd7d900e8f9a5eed88d7dc0b46cb.zip
external_mesa3d-b189d1635d89cd7d900e8f9a5eed88d7dc0b46cb.tar.gz
external_mesa3d-b189d1635d89cd7d900e8f9a5eed88d7dc0b46cb.tar.bz2
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 <brianp@vmware.com>
Diffstat (limited to 'src/mesa/main/texcompress.h')
-rw-r--r--src/mesa/main/texcompress.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress.h b/src/mesa/main/texcompress.h
index 922da00..375cf90 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);