diff options
author | Ian Romanick <[email protected]> | 2011-09-12 11:38:52 -0500 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-09-19 10:04:47 -0700 |
commit | a2cab751beed5d130c4085d4215f8b7ad25d9cb1 (patch) | |
tree | e768d03f10fd0247a02020a18a0aa7897e7d397c /src/mesa/main/texpal.h | |
parent | fc0fa16be3792bdabad0993fc4026bf621d6092f (diff) |
mesa: Refactor expected texture size check in cpal_get_info
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Tested-by: Jin Yang <[email protected]>
Diffstat (limited to 'src/mesa/main/texpal.h')
-rw-r--r-- | src/mesa/main/texpal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/texpal.h b/src/mesa/main/texpal.h index eeff5a9e24c..e1809995468 100644 --- a/src/mesa/main/texpal.h +++ b/src/mesa/main/texpal.h @@ -34,5 +34,8 @@ _mesa_cpal_compressed_teximage2d(GLenum target, GLint level, GLsizei width, GLsizei height, GLsizei imageSize, const void *palette); +extern unsigned +_mesa_cpal_compressed_size(int level, GLenum internalFormat, + unsigned width, unsigned height); #endif /* TEXPAL_H */ |