Wrap stroke mix shell

This commit is contained in:
2026-06-13 19:19:33 +02:00
parent fc4fbb7954
commit a428f77db6
4 changed files with 23 additions and 3 deletions

View File

@@ -420,10 +420,10 @@ void Canvas::stroke_draw_mix(const glm::vec2& bb_min, const glm::vec2& bb_sz)
m_mixer.unbindFramebuffer();
});
[[maybe_unused]] const auto mix_result =
pp::panopainter::execute_legacy_canvas_stroke_mix_pass_with_setup(
pp::panopainter::execute_legacy_canvas_stroke_mix_pass_shell(
mix_setup.begin,
mix_setup.end,
pp::panopainter::make_legacy_canvas_stroke_mix_pass_request(
pp::panopainter::make_legacy_canvas_stroke_mix_pass_request(
"Canvas::stroke_draw_mix",
m_size,
mix_planes,
@@ -477,7 +477,7 @@ void Canvas::stroke_draw_mix(const glm::vec2& bb_min, const glm::vec2& bb_sz)
[&](int plane_index) {
set_active_texture_unit(0);
current_layer.rtt(plane_index).unbindTexture();
});
}));
gl.restore();
}