diff options
author | Vinson Lee <[email protected]> | 2012-02-18 00:32:53 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2012-02-18 11:09:27 -0800 |
commit | 0342ffba1fa0ad4a724ca2450af6fc78358f5956 (patch) | |
tree | c4a26af7c2410921164947f96c2547133afa6ce7 /src/gallium | |
parent | e77e88740d8861affa5b3bfa69dd1745d3c4484a (diff) |
st/vega: Remove unused variable.
Fixes this GCC warning.
mask.c: In function ‘mask_layer_fill’:
mask.c:387:12: warning: variable ‘alpha_color’ set but not used
[-Wunused-but-set-variable]
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/vega/mask.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/vega/mask.c b/src/gallium/state_trackers/vega/mask.c index 1280ea9dc8e..89bff6ede1b 100644 --- a/src/gallium/state_trackers/vega/mask.c +++ b/src/gallium/state_trackers/vega/mask.c @@ -384,10 +384,6 @@ void mask_layer_fill(struct vg_mask_layer *layer, VGint width, VGint height, VGfloat value) { - VGfloat alpha_color[4] = {0, 0, 0, 0}; - - alpha_color[3] = value; - mask_resource_fill(layer->sampler_view->texture, x, y, width, height, value); } |