summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-11-20 16:03:48 -0800
committerVinson Lee <vlee@vmware.com>2009-11-20 16:03:48 -0800
commitea98e9820d7117f7a187f355445796b1ef5d9e0c (patch)
treef39d865ac2b5c116e1d91f9a84d0bab380d24672 /src/gallium/auxiliary
parente19195c1855ca0a12697ed3196f3d9a763d1363d (diff)
draw: Initialize variable in draw_pt.c.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c
index dbb5ac7182..4865a2d854 100644
--- 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 */