summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-11-20 16:03:48 -0800
committerVinson Lee <[email protected]>2009-12-05 15:11:41 -0800
commit3cd745515e72c42efcd0c9f7d30e58f46f821b98 (patch)
treee87fb22127e7a4677078edbe3da2d53a05e7f96e /src/gallium/auxiliary
parentb2953ee1a655a010f36b5fc1b47f8bd8b06ce368 (diff)
draw: Initialize variable in draw_pt.c.
(cherry picked from commit ea98e9820d7117f7a187f355445796b1ef5d9e0c)
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 dbb5ac71821..4865a2d8542 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 */