From: Luca Barbieri Date: Wed, 22 Sep 2010 11:25:45 +0000 (+0200) Subject: d3d1x: fix warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d83b7a69a0aeece9d7ba68c1b161656988009bfa;p=mesa.git d3d1x: fix warning --- diff --git a/src/gallium/state_trackers/d3d1x/gd3d1x/tpf_to_tgsi.cpp b/src/gallium/state_trackers/d3d1x/gd3d1x/tpf_to_tgsi.cpp index 676c939aa00..4d7c296bb62 100644 --- a/src/gallium/state_trackers/d3d1x/gd3d1x/tpf_to_tgsi.cpp +++ b/src/gallium/state_trackers/d3d1x/gd3d1x/tpf_to_tgsi.cpp @@ -441,7 +441,7 @@ struct tpf_to_tgsi_converter case TPF_OPCODE_LD_MS: { unsigned texslot = _texslot(false); - unsigned dim; + unsigned dim = 0; switch(targets[texslot].first) { case TGSI_TEXTURE_1D: