summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/vega')
-rw-r--r--src/gallium/state_trackers/vega/mask.c4
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);
}