diff --git a/src/gallium/drivers/iris/iris_clear.c b/src/gallium/drivers/iris/iris_clear.c index e599e0dc54b..ffd117e4a30 100644 --- a/src/gallium/drivers/iris/iris_clear.c +++ b/src/gallium/drivers/iris/iris_clear.c @@ -165,7 +165,6 @@ fast_clear_color(struct iris_context *ice, struct iris_resource *res, unsigned level, const struct pipe_box *box, - enum isl_format format, union isl_color_value color) { struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER]; @@ -335,7 +334,7 @@ clear_color(struct iris_context *ice, render_condition_enabled, format, color); if (can_fast_clear) { - fast_clear_color(ice, res, level, box, format, color); + fast_clear_color(ice, res, level, box, color); return; }