summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-12-04 00:53:44 -0800
committerVinson Lee <[email protected]>2010-12-04 00:53:44 -0800
commit8aa4cd0e503820e545cceeaa2357d670b948db27 (patch)
tree7dd56c5e6254f5b608c6b6d0ad13385b4419aff4 /src
parent3132591a4dfbc5966c999cff414573d7e2008ae8 (diff)
st/vega: Silence uninitialized variable warning.
Fixes this GCC warning. api_filters.c: In function 'execute_filter': api_filters.c:184: warning: 'tex_wrap' may be used uninitialized in this function
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/vega/api_filters.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/api_filters.c b/src/gallium/state_trackers/vega/api_filters.c
index 95f900f4a93..724e38241b5 100644
--- a/src/gallium/state_trackers/vega/api_filters.c
+++ b/src/gallium/state_trackers/vega/api_filters.c
@@ -207,6 +207,7 @@ static void execute_filter(struct vg_context *ctx,
break;
default:
debug_assert(!"Unknown tiling mode");
+ tex_wrap = 0;
break;
}