diff options
author | Vinson Lee <[email protected]> | 2010-02-13 22:51:34 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-02-13 22:51:34 -0800 |
commit | 71e750f4822a1cdba24abf1fc48eabeeb77961f8 (patch) | |
tree | 8fbd1cb9ece89c9857415ba05eb70607107040b8 /src/gallium | |
parent | 260ec80f11561f2f9dbb2000d3e72b54b0fe91a5 (diff) |
softpipe: Silence uninitialized variable warnings.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_tex_sample.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c index 824d8d12b02..ecd6b39863c 100644 --- a/src/gallium/drivers/softpipe/sp_tex_sample.c +++ b/src/gallium/drivers/softpipe/sp_tex_sample.c @@ -1682,6 +1682,9 @@ sample_cube(struct tgsi_sampler *tgsi_sampler, break; default: assert(0 && "bad cube face"); + sc = 0.0F; + tc = 0.0F; + ma = 0.0F; } { |