summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-09-22 13:25:45 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-09-22 13:25:45 +0200
commitd83b7a69a0aeece9d7ba68c1b161656988009bfa (patch)
tree0c67800e4da2c5da1172fa63893c78b3a7d51c36 /src/gallium/state_trackers
parent1aed6f42e9da0ca85b4d204d9dcaaa4632b34230 (diff)
d3d1x: fix warning
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/d3d1x/gd3d1x/tpf_to_tgsi.cpp2
1 files changed, 1 insertions, 1 deletions
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 676c939aa0..4d7c296bb6 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: