summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-01-01 16:03:53 -0800
committerVinson Lee <vlee@vmware.com>2010-01-01 16:03:53 -0800
commit3ae37da6116d7a703b2752fd7978caad79ecfcf2 (patch)
treeda276fe00aabe8fefe962c0fee5d352c07ffdadf /src
parentfd237a879fdc70cb070aa8be0f01a7b31d8207c6 (diff)
llvmpipe: Silence uninitialized variable warning.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_tex_sample_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_tex_sample_c.c b/src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
index a1365a045f..699394c0de 100644
--- a/src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
+++ b/src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
@@ -1085,7 +1085,7 @@ lp_get_samples_2d_common(struct tgsi_sampler *tgsi_sampler,
const struct pipe_sampler_state *sampler = samp->sampler;
unsigned level0, level1, j, imgFilter;
int width, height;
- float levelBlend;
+ float levelBlend = 0.0F;
choose_mipmap_levels(tgsi_sampler, s, t, p,
lodbias,