projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf386f0
)
swrast: fix uninitialized variable warning
author
Brian Paul
<brianp@vmware.com>
Tue, 24 Jan 2012 20:32:13 +0000
(13:32 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 24 Jan 2012 21:12:39 +0000
(14:12 -0700)
src/mesa/swrast/s_span.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_span.c
b/src/mesa/swrast/s_span.c
index 8fbd32276cd3dcab0a2f405cd6a0d0b92df3dffc..7ab60b1e5140c2a0cb4bb8ce332afaf27c011201 100644
(file)
--- 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)