mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-05 06:10:28 +01:00
swrast: fix uninitialized variable warning
(cherry picked from commit ba151a333b)
This commit is contained in:
parent
4f8b00d8ef
commit
93d5799e8b
1 changed files with 1 additions and 1 deletions
|
|
@ -1084,7 +1084,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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue