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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user