summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_cpal.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-10-08 17:45:57 -0600
committerBrian Paul <[email protected]>2012-10-09 07:05:47 -0600
commit541158fbb972252004de328391e9a1694572cddb (patch)
treeb32e92ed64bbbad7554fd2b7dc4435c7ae036ad6 /src/mesa/main/texcompress_cpal.c
parent30ebc8650caa8f67deebaae397a04dfdfc50d1df (diff)
mesa: remove unused _mesa_cpal_compressed_format_type() function
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress_cpal.c')
-rw-r--r--src/mesa/main/texcompress_cpal.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mesa/main/texcompress_cpal.c b/src/mesa/main/texcompress_cpal.c
index 4aa1f610e32..75389a43707 100644
--- a/src/mesa/main/texcompress_cpal.c
+++ b/src/mesa/main/texcompress_cpal.c
@@ -140,21 +140,6 @@ _mesa_cpal_compressed_size(int level, GLenum internalFormat,
return expect_size;
}
-void
-_mesa_cpal_compressed_format_type(GLenum internalFormat, GLenum *format,
- GLenum *type)
-{
- const struct cpal_format_info *info;
-
- if (internalFormat < GL_PALETTE4_RGB8_OES
- || internalFormat > GL_PALETTE8_RGB5_A1_OES) {
- return;
- }
-
- info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];
- *format = info->format;
- *type = info->type;
-}
/**
* Convert a call to glCompressedTexImage2D() where internalFormat is a