Wrap stroke mix shell
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user