diff options
author | Brian Paul <[email protected]> | 2012-01-24 13:32:13 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-24 14:12:39 -0700 |
commit | ba151a333be7a23266b23ee6f65669bb19221546 (patch) | |
tree | 0faae052f036e30c6711b790ac1355e8a93a853d /src/mesa/swrast/s_span.c | |
parent | cf386f0a2ba3efcfd6ddbfcbebaf98a9bfa7a29f (diff) |
swrast: fix uninitialized variable warning
Diffstat (limited to 'src/mesa/swrast/s_span.c')
-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 8fbd32276cd..7ab60b1e514 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) |