summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/texenvprogram.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index 711464aab2..23d6239fb7 100644
--- a/src/mesa/main/texenvprogram.c
+++ b/src/mesa/main/texenvprogram.c
@@ -738,6 +738,8 @@ static struct ureg emit_combine( struct texenv_fragment_program *p,
struct ureg tmp, half;
GLuint i;
+ tmp = undef; /* silence warning (bug 5318) */
+
for (i = 0; i < nr; i++)
src[i] = emit_combine_source( p, mask, unit, opt[i].Source, opt[i].Operand );