projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef47ab5
)
swrast: init i0, i1 values to silence warnings
author
Brian Paul
<brianp@vmware.com>
Fri, 23 Aug 2013 21:33:14 +0000
(15:33 -0600)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_texfilter.c
b/src/mesa/swrast/s_texfilter.c
index 0920a640c7f59ff9684454d9ff6c6f6fd15b6d8b..312b9ce9bf7cdbe64aa3576e49e90ba7fdda6a89 100644
(file)
--- 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;
}