summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formats.h
diff options
context:
space:
mode:
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);