mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
mesa: add cast to silence warning in _mesa_pack_rgba_span_from_ints()
This commit is contained in:
parent
658044cde1
commit
fd41cbc557
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue