summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-05-15 23:53:04 +0200
committerMarek Olšák <maraeo@gmail.com>2010-05-15 23:53:04 +0200
commit0ab72a5a0a35b84249863fe6616aaa66c0313c1c (patch)
tree2aab08a131aa83f9d6b7f9f61ec3834ff84daef8 /src
parentf86ac27bf9203fdd9b7110dc843263307f475a99 (diff)
r300/compiler: silence a warning
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c b/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c
index 42c08cd550..8336e58d55 100644
--- a/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c
+++ b/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c
@@ -119,7 +119,7 @@ int radeonTransformTEX(
struct rc_instruction * inst_cmp;
unsigned tmp_texsample = rc_find_free_temporary(c);
unsigned tmp_sum = rc_find_free_temporary(c);
- unsigned tmp_recip_w;
+ unsigned tmp_recip_w = 0;
int pass, fail, tex;
/* Save the output register. */