summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-25 16:59:08 -0600
committerBrian Paul <[email protected]>2009-10-25 16:59:08 -0600
commit54bb414e00a4daedbe530b9933bc11bac4ae7149 (patch)
tree4ea85503a007e453936836f282bbfe61113efd05 /src/mesa/main/texcompress.h
parentd6ee86c77a8e1543557fd64c1f1c354baa0a8ad8 (diff)
mesa: clean-up, simplify compressed texture size checking
Diffstat (limited to 'src/mesa/main/texcompress.h')
-rw-r--r--src/mesa/main/texcompress.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/main/texcompress.h b/src/mesa/main/texcompress.h
index 70247098b2a..43cd7418956 100644
--- a/src/mesa/main/texcompress.h
+++ b/src/mesa/main/texcompress.h
@@ -33,10 +33,8 @@
extern GLuint
_mesa_get_compressed_formats(GLcontext *ctx, GLint *formats, GLboolean all);
-extern GLuint
-_mesa_compressed_texture_size_glenum(GLcontext *ctx,
- GLsizei width, GLsizei height,
- GLsizei depth, GLenum glformat);
+extern gl_format
+_mesa_glenum_to_compressed_format(GLenum format);
extern GLint
_mesa_compressed_row_stride(gl_format mesaFormat, GLsizei width);