projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e19195c
)
draw: Initialize variable in draw_pt.c.
author
Vinson Lee
<vlee@vmware.com>
Sat, 21 Nov 2009 00:03:48 +0000
(16:03 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 21 Nov 2009 00:03:48 +0000
(16:03 -0800)
src/gallium/auxiliary/draw/draw_pt.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pt.c
b/src/gallium/auxiliary/draw/draw_pt.c
index dbb5ac71821ae266729a4bf22d8461d5e2740cb9..4865a2d85421cc28f74fc753629bce7db1503d8c 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_pt.c
+++ b/
src/gallium/auxiliary/draw/draw_pt.c
@@
-192,7
+192,8
@@
draw_print_arrays(struct draw_context *draw, uint prim, int start, uint count)
prim, start, count);
for (i = 0; i < count; i++) {
- uint ii, j;
+ uint ii = 0;
+ uint j;
if (draw->pt.user.elts) {
/* indexed arrays */