summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formats.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-06 18:56:29 -0600
committerBrian Paul <[email protected]>2009-10-06 18:56:29 -0600
commitf7b5e616e07b5caa27e91bb5733a8a849d5963f6 (patch)
treee9f97eb5917f7f9e6e49408bd3b6e93db193f19a /src/mesa/main/formats.h
parentedfd2f7c4f942ed0c1aa1238ab0684ee7dd889a2 (diff)
mesa: added _mesa_get_format_color_encoding()
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r--src/mesa/main/formats.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
index 6aebb85f2be..fcedbe9be21 100644
--- a/src/mesa/main/formats.h
+++ b/src/mesa/main/formats.h
@@ -152,6 +152,9 @@ _mesa_get_format_base_format(gl_format format);
extern GLboolean
_mesa_is_format_compressed(gl_format format);
+extern GLenum
+_mesa_get_format_color_encoding(gl_format format);
+
extern GLuint
_mesa_format_image_size(gl_format format, GLsizei width,
GLsizei height, GLsizei depth);