Extract dual shader setup wrapper
This commit is contained in:
@@ -1151,7 +1151,7 @@ void Canvas::stroke_draw()
|
||||
dual_pass_brush_tip_dispatch);
|
||||
},
|
||||
.setup_dual_shader = [&] {
|
||||
pp::panopainter::setup_legacy_stroke_dual_shader(
|
||||
pp::panopainter::setup_legacy_canvas_stroke_dual_shader(
|
||||
stroke_material.dual_pass.uses_pattern);
|
||||
},
|
||||
.execute_frame_pass = [&] {
|
||||
|
||||
Reference in New Issue
Block a user