swrast: init i0, i1 values to silence warnings
authorBrian Paul <brianp@vmware.com>
Fri, 23 Aug 2013 21:33:14 +0000 (15:33 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 26 Aug 2013 18:52:06 +0000 (12:52 -0600)
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/swrast/s_texfilter.c

index 0920a640c7f59ff9684454d9ff6c6f6fd15b6d8b..312b9ce9bf7cdbe64aa3576e49e90ba7fdda6a89 100644 (file)
@@ -274,6 +274,7 @@ linear_texel_locations(GLenum wrapMode,
       break;
    default:
       _mesa_problem(NULL, "Bad wrap mode");
+      *i0 = *i1 = 0;
       u = 0.0F;
       break;
    }