Mesa (master): swrast: init i0, i1 values to silence warnings
Brian Paul
brianp at kemper.freedesktop.org
Mon Aug 26 18:54:06 UTC 2013
Module: Mesa
Branch: master
Commit: 5e7ac28ebfd309782185d44813f0f86659a680cf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e7ac28ebfd309782185d44813f0f86659a680cf
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 23 15:33:14 2013 -0600
swrast: init i0, i1 values to silence warnings
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
---
src/mesa/swrast/s_texfilter.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/swrast/s_texfilter.c b/src/mesa/swrast/s_texfilter.c
index 0920a64..312b9ce 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;
}
More information about the mesa-commit
mailing list