summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-05-09 13:51:17 +0000
committerBrian Paul <[email protected]>2006-05-09 13:51:17 +0000
commit008ed1df83735c72c2731c509a3665938d3c7209 (patch)
treef08ae0c53abfa916f28f408d8dac17ab5b3725c5 /src/mesa/main/texcompress.h
parent5e4c39dc0e0fd6bc4324aa9030430822348aa3b4 (diff)
Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whether
all formats or just those without restrictions/limitations should be returned. We want all when validating the internalFormat parameter to glCompressedTexImage2D but only want unrestricted formats when handling the GL_COMPRESSED_TEXTURE_FORMATS query.
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 5b5e64e15dd..44f33382228 100644
--- a/src/mesa/main/texcompress.h
+++ b/src/mesa/main/texcompress.h
@@ -30,7 +30,7 @@
#if _HAVE_FULL_GL
extern GLuint
-_mesa_get_compressed_formats( GLcontext *ctx, GLint *formats );
+_mesa_get_compressed_formats(GLcontext *ctx, GLint *formats, GLboolean all);
extern GLuint
_mesa_compressed_texture_size( GLcontext *ctx,