projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a5520f
)
r300: minor fix
author
Maciej Cencora
<m.cencora@gmail.com>
Sat, 11 Jul 2009 14:41:52 +0000
(16:41 +0200)
committer
Maciej Cencora
<m.cencora@gmail.com>
Mon, 13 Jul 2009 17:28:15 +0000
(19:28 +0200)
Split initializations becase the vars are of different type.
Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
src/mesa/drivers/dri/r300/r300_vertprog.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_vertprog.c
b/src/mesa/drivers/dri/r300/r300_vertprog.c
index
ea8d25d
..
703fba4
100644
(file)
--- 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);