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.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
index ad93fef2fcb..dbde28e727a 100644
--- a/src/mesa/main/formats.h
+++ b/src/mesa/main/formats.h
@@ -198,6 +198,12 @@ struct gl_format_info
extern GLuint
_mesa_get_format_bytes(gl_format format);
+extern GLint
+_mesa_get_format_bits(gl_format format, GLenum pname);
+
+extern GLenum
+_mesa_get_format_datatype(gl_format format);
+
extern GLenum
_mesa_get_format_base_format(gl_format format);
@@ -208,13 +214,6 @@ extern void
_mesa_format_to_type_and_comps2(gl_format format,
GLenum *datatype, GLuint *comps);
-extern GLint
-_mesa_get_format_bits(gl_format format, GLenum pname);
-
-extern GLenum
-_mesa_get_format_datatype(gl_format format);
-
-
extern void
_mesa_test_formats(void);