From: Ian Romanick Date: Thu, 5 Jan 2012 00:08:20 +0000 (-0800) Subject: mesa: Add missing GL_RG_INTEGER cases X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e52be58f05eaa5762b9a03ac860da4d9581cead;p=mesa.git mesa: Add missing GL_RG_INTEGER cases Adds two missing '|| srcFormat == GL_RG_INTEGER' in assertions and a bunch of missing pixel converions cases. Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c index 2933ff638fc..8f2c8fd974f 100644 --- a/src/mesa/main/pack.c +++ b/src/mesa/main/pack.c @@ -692,6 +692,12 @@ _mesa_pack_rgba_span_float(struct gl_context *ctx, GLuint n, GLfloat rgba[][4], dst[i] = (GLubyte) rgba[i][ACOMP]; } break; + case GL_RG_INTEGER: + for (i=0;i