summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formats.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-24 08:43:16 -0600
committerBrian Paul <[email protected]>2009-10-24 08:43:16 -0600
commitbee6794eb126bc8af87726a2456d0ebc36eb721d (patch)
tree7dfec0f9b00e1ade74ba96da73e319cfe5f8cfc3 /src/mesa/main/formats.h
parenteb732b1bbb4e4bdd018ee9a1653a62fd8dce2d55 (diff)
mesa: added _mesa_get_format_name()
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 f8b4a6cdf4a..72f1b1e2874 100644
--- a/src/mesa/main/formats.h
+++ b/src/mesa/main/formats.h
@@ -140,6 +140,9 @@ typedef enum
} gl_format;
+extern const char *
+_mesa_get_format_name(gl_format format);
+
extern GLuint
_mesa_get_format_bytes(gl_format format);