r300: minor fix

Split initializations becase the vars are of different type.

Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
This commit is contained in:
Maciej Cencora
2009-07-11 16:41:52 +02:00
parent 1a5520fcd3
commit acd3360041
+2 -1
View File
@@ -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);