diff options
author | Vinson Lee <[email protected]> | 2009-11-20 16:03:48 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-11-20 16:03:48 -0800 |
commit | ea98e9820d7117f7a187f355445796b1ef5d9e0c (patch) | |
tree | f39d865ac2b5c116e1d91f9a84d0bab380d24672 | |
parent | e19195c1855ca0a12697ed3196f3d9a763d1363d (diff) |
draw: Initialize variable in draw_pt.c.
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt.c | 3 |
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 */ |