diff options
author | Maciej Cencora <[email protected]> | 2009-07-11 16:41:52 +0200 |
---|---|---|
committer | Maciej Cencora <[email protected]> | 2009-07-13 19:28:15 +0200 |
commit | acd33600411102872af579edc4206b61eb51bb65 (patch) | |
tree | 570bb648e4cb52eeb83c40ded2ab381732439b03 /src/mesa/drivers | |
parent | 1a5520fcd3842cc3198bff143d2af5c169eebc26 (diff) |
r300: minor fix
Split initializations becase the vars are of different type.
Reported-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_vertprog.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |