summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-07-22 15:25:55 -0700
committerIan Romanick <[email protected]>2011-07-25 19:57:14 -0700
commit09916e877fc14723d7950f892e181df9f7d7f36f (patch)
tree51b0bbf652f91502ce3a0c08427329c05326ee7b /src/mesa/main/texcompress.h
parent3daa2d97eb13f41de4cbab9301a167be85d48642 (diff)
mesa: Add utility function to get base format from a GL compressed format
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress.h')
-rw-r--r--src/mesa/main/texcompress.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/texcompress.h b/src/mesa/main/texcompress.h
index 19b08bbadf6..922da00912d 100644
--- a/src/mesa/main/texcompress.h
+++ b/src/mesa/main/texcompress.h
@@ -33,6 +33,9 @@ struct gl_context;
#if _HAVE_FULL_GL
+extern GLenum
+_mesa_gl_compressed_format_base_format(GLenum format);
+
extern GLuint
_mesa_get_compressed_formats(struct gl_context *ctx, GLint *formats, GLboolean all);