swrast: init i0, i1 values to silence warnings
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
parent
ef47ab520d
commit
5e7ac28ebf
|
@ -274,6 +274,7 @@ linear_texel_locations(GLenum wrapMode,
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
_mesa_problem(NULL, "Bad wrap mode");
|
_mesa_problem(NULL, "Bad wrap mode");
|
||||||
|
*i0 = *i1 = 0;
|
||||||
u = 0.0F;
|
u = 0.0F;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue