projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
658044c
)
mesa: add cast to silence warning in _mesa_pack_rgba_span_from_ints()
author
Brian Paul
<brianp@vmware.com>
Thu, 16 Aug 2012 14:55:48 +0000
(08:55 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 16 Aug 2012 14:55:48 +0000
(08:55 -0600)
src/mesa/main/pack.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/pack.c
b/src/mesa/main/pack.c
index 7aebd45ea2bd094c6f710ea8b42830ced3c24b7d..4c99199d9d11536f5a38f73e92cded42ba89b15e 100644
(file)
--- a/
src/mesa/main/pack.c
+++ b/
src/mesa/main/pack.c
@@
-926,7
+926,7
@@
_mesa_pack_rgba_span_from_ints(struct gl_context *ctx, GLuint n, GLint rgba[][4]
break;
case GL_INT:
/* No conversion necessary. */
- pack_uint_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n);
+ pack_uint_from_uint_rgba(ctx, dstAddr, dstFormat,
(GLuint (*)[4])
rgba, n);
break;
case GL_UNSIGNED_SHORT:
pack_ushort_from_int_rgba(ctx, dstAddr, dstFormat, rgba, n);