From: Maciej Cencora Date: Sat, 11 Jul 2009 14:41:52 +0000 (+0200) Subject: r300: minor fix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=acd33600411102872af579edc4206b61eb51bb65;p=mesa.git r300: minor fix Split initializations becase the vars are of different type. Reported-by: Nicolai Hähnle --- diff --git a/src/mesa/drivers/dri/r300/r300_vertprog.c b/src/mesa/drivers/dri/r300/r300_vertprog.c index ea8d25d5a94..703fba48744 100644 --- a/src/mesa/drivers/dri/r300/r300_vertprog.c +++ b/src/mesa/drivers/dri/r300/r300_vertprog.c @@ -1473,7 +1473,8 @@ static void addArtificialOutputs(GLcontext *ctx, struct gl_program *prog) GLuint OutputsAdded, FpReads; int i, count; - OutputsAdded = count = 0; + OutputsAdded = 0; + count = 0; FpReads = r300->selected_fp->Base->InputsRead; ADD_OUTPUT(FRAG_ATTRIB_COL0, VERT_RESULT_COL0);