From 0460f7b45e55d47e6d45fee697a2b4e2a03d3276 Mon Sep 17 00:00:00 2001 From: luboslenco Date: Mon, 18 May 2026 21:46:51 +0200 Subject: [PATCH] base: fix draw flush --- base/sources/iron_draw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/base/sources/iron_draw.c b/base/sources/iron_draw.c index 2a253d4e..24c445fc 100644 --- a/base/sources/iron_draw.c +++ b/base/sources/iron_draw.c @@ -776,6 +776,7 @@ uint32_t draw_get_color() { } void draw_set_pipeline(gpu_pipeline_t *pipeline) { + draw_flush(); draw_custom_pipeline = pipeline; }