Module: Mesa
Branch: master
Commit: 5e7ac28ebfd309782185d44813f0f86659a680cf
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e7ac28ebfd309782185d44813f0f86659a680cf

Author: Brian Paul <bri...@vmware.com>
Date:   Fri Aug 23 15:33:14 2013 -0600

swrast: init i0, i1 values to silence warnings

Reviewed-by: Chad Versace <chad.vers...@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;
    }

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to