diff options
author | Vinson Lee <[email protected]> | 2010-12-04 00:53:44 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-12-04 00:53:44 -0800 |
commit | 8aa4cd0e503820e545cceeaa2357d670b948db27 (patch) | |
tree | 7dd56c5e6254f5b608c6b6d0ad13385b4419aff4 | |
parent | 3132591a4dfbc5966c999cff414573d7e2008ae8 (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
-rw-r--r-- | src/gallium/state_trackers/vega/api_filters.c | 1 |
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; } |