Fix render path end

This commit is contained in:
luboslenco
2025-07-12 15:21:08 +02:00
parent 4f68bfc9ef
commit f4def5b3a5
2 changed files with 2 additions and 10 deletions
+1 -5
View File
@@ -224,13 +224,9 @@ function render_path_paint_draw() {
if (context_raw.brush_blend_dirty) {
context_raw.brush_blend_dirty = false;
///if arm_metal
render_path_set_target("texpaint_blend0", null, null, clear_flag_t.COLOR, 0x00000000);
render_path_set_target("texpaint_blend1", null, null, clear_flag_t.COLOR, 0x00000000);
///else
let additional: string[] = ["texpaint_blend1"];
render_path_set_target("texpaint_blend0", additional, null, clear_flag_t.COLOR, 0x00000000);
///end
render_path_end();
}
}
+1 -5
View File
@@ -703,13 +703,9 @@ function render_path_paint_draw() {
if (context_raw.brush_blend_dirty) {
context_raw.brush_blend_dirty = false;
///if arm_metal
render_path_set_target("texpaint_blend0", null, null, clear_flag_t.COLOR, 0x00000000);
render_path_set_target("texpaint_blend1", null, null, clear_flag_t.COLOR, 0x00000000);
///else
let additional: string[] = ["texpaint_blend1"];
render_path_set_target("texpaint_blend0", additional, null, clear_flag_t.COLOR, 0x00000000);
///end
render_path_end();
}
if (context_raw.paint2d) {