diff options
author | Brian Paul <brianp@vmware.com> | 2012-01-24 13:32:13 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2012-01-24 14:12:39 -0700 |
commit | ba151a333be7a23266b23ee6f65669bb19221546 (patch) | |
tree | 0faae052f036e30c6711b790ac1355e8a93a853d | |
parent | cf386f0a2ba3efcfd6ddbfcbebaf98a9bfa7a29f (diff) |
swrast: fix uninitialized variable warning
-rw-r--r-- | src/mesa/swrast/s_span.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index 8fbd32276c..7ab60b1e51 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -1103,7 +1103,7 @@ _swrast_put_row(struct gl_context *ctx, struct gl_renderbuffer *rb, /* We can't pass a 'mask' array to the _mesa_pack_rgba_row() functions * so look for runs where mask=1... */ - runLen = 0; + runLen = runStart = 0; for (i = 0; i < count; i++) { if (mask[i]) { if (runLen == 0) |