diff --git a/drivers/gles_common/rasterizer_canvas_batcher.h b/drivers/gles_common/rasterizer_canvas_batcher.h index f73392d22..9a426e13b 100644 --- a/drivers/gles_common/rasterizer_canvas_batcher.h +++ b/drivers/gles_common/rasterizer_canvas_batcher.h @@ -1334,7 +1334,7 @@ PREAMBLE(bool)::_prefill_line(RasterizerCanvas::Item::CommandLine *p_line, FillS // if the color has changed we need a new batch // (only single color line batches supported so far) - if (r_fill_state.curr_batch->color != bcol) { + if (!change_batch && r_fill_state.curr_batch->color != bcol) { change_batch = true; }