summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-08-23 15:33:14 -0600
committerBrian Paul <[email protected]>2013-08-26 12:52:06 -0600
commit5e7ac28ebfd309782185d44813f0f86659a680cf (patch)
tree79d7b1240eb434768b10398c9763710016f6eab4 /src/mesa
parentef47ab520d5f4b50073cb05df0504daaf4b6fcf2 (diff)
swrast: init i0, i1 values to silence warnings
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/swrast/s_texfilter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_texfilter.c b/src/mesa/swrast/s_texfilter.c
index 0920a640c7f..312b9ce9bf7 100644
--- a/src/mesa/swrast/s_texfilter.c
+++ b/src/mesa/swrast/s_texfilter.c
@@ -274,6 +274,7 @@ linear_texel_locations(GLenum wrapMode,
break;
default:
_mesa_problem(NULL, "Bad wrap mode");
+ *i0 = *i1 = 0;
u = 0.0F;
break;
}