diff options
author | Brian Paul <[email protected]> | 2009-10-24 11:33:10 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-24 11:33:10 -0600 |
commit | 7b16c43e436715bef9118fdb28ca8a9ad91b1e66 (patch) | |
tree | 84d947d1f640610355dd6649bfb96e68df80b5a1 /src/mesa/main/formats.h | |
parent | 51bc12d62338ad1874c437d692e1182c0bf3d4cd (diff) |
mesa: added _mesa_get_format_block_size()
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r-- | src/mesa/main/formats.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h index 72f1b1e2874..91ea023077f 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@ -155,6 +155,9 @@ _mesa_get_format_datatype(gl_format format); extern GLenum _mesa_get_format_base_format(gl_format format); +extern void +_mesa_get_format_block_size(gl_format format, GLuint *bw, GLuint *bh); + extern GLboolean _mesa_is_format_compressed(gl_format format); |