aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.h
diff options
context:
space:
mode:
authorXiang, Haihao <[email protected]>2009-01-06 15:37:45 +0800
committerXiang, Haihao <[email protected]>2009-01-06 15:37:45 +0800
commitf1f022dbb103947b0edf5ae984fcff00f6a8e539 (patch)
treead3fce7397baf8c23a38c2a9b9c90733862750be /src/mesa/main/image.h
parent241c0bfc985363bb15e6cc0eca859c6ec36d1b35 (diff)
mesa: Fix the size per pixel for packed pixel format data type.
Diffstat (limited to 'src/mesa/main/image.h')
-rw-r--r--src/mesa/main/image.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h
index 38e1374c20c..0e0bbd96d85 100644
--- a/src/mesa/main/image.h
+++ b/src/mesa/main/image.h
@@ -36,6 +36,9 @@ _mesa_swap2( GLushort *p, GLuint n );
extern void
_mesa_swap4( GLuint *p, GLuint n );
+extern GLboolean
+_mesa_type_is_packed(GLenum type);
+
extern GLint
_mesa_sizeof_type( GLenum type );