summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/format_pack.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-29 19:47:37 -0700
committerBrian Paul <[email protected]>2012-01-30 13:01:08 -0700
commit66940ad2d7145d30cf0381a9a2835efaa0d1ee3f (patch)
treee71bc7fb9541a53cb25f51c012fe60064eaae109 /src/mesa/main/format_pack.h
parentff2497dca39d688bbceba9f524a61e99d93a9607 (diff)
mesa: added _mesa_pack_ubyte_rgba_rect()
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/format_pack.h')
-rw-r--r--src/mesa/main/format_pack.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/format_pack.h b/src/mesa/main/format_pack.h
index f1b48051065..20b2ad8a5ac 100644
--- a/src/mesa/main/format_pack.h
+++ b/src/mesa/main/format_pack.h
@@ -77,6 +77,10 @@ _mesa_pack_ubyte_rgba_row(gl_format format, GLuint n,
const GLubyte src[][4], void *dst);
+extern void
+_mesa_pack_ubyte_rgba_rect(gl_format format, GLuint width, GLuint height,
+ const GLubyte *src, GLint srcRowStride,
+ void *dst, GLint dstRowStride);
extern void
_mesa_pack_float_z_row(gl_format format, GLuint n,