summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/format_unpack.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-01-09 08:11:33 -0700
committerBrian Paul <brianp@vmware.com>2012-01-09 08:11:33 -0700
commit7274538da7118790c0c1cbbffee5e8a8cc4d7462 (patch)
tree5273a25e927d5a0c5c54fb87d4b8a96f0a729f91 /src/mesa/main/format_unpack.h
parent301fba54452c01673bb9f105fbc3e68a704ad18a (diff)
downloadexternal_mesa3d-7274538da7118790c0c1cbbffee5e8a8cc4d7462.zip
external_mesa3d-7274538da7118790c0c1cbbffee5e8a8cc4d7462.tar.gz
external_mesa3d-7274538da7118790c0c1cbbffee5e8a8cc4d7462.tar.bz2
mesa: add _mesa_unpack_ubyte_rgba_row() function
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/main/format_unpack.h')
-rw-r--r--src/mesa/main/format_unpack.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/format_unpack.h b/src/mesa/main/format_unpack.h
index bab29f6..aad800d 100644
--- a/src/mesa/main/format_unpack.h
+++ b/src/mesa/main/format_unpack.h
@@ -28,6 +28,9 @@ extern void
_mesa_unpack_rgba_row(gl_format format, GLuint n,
const void *src, GLfloat dst[][4]);
+extern void
+_mesa_unpack_ubyte_rgba_row(gl_format format, GLuint n,
+ const void *src, GLubyte dst[][4]);
void
_mesa_unpack_uint_rgba_row(gl_format format, GLuint n,