Fix batch breaking logic for blend modes
This commit is contained in:
parent
00b7a2ee5a
commit
99d980c0c7
|
@ -271,7 +271,7 @@ impl<'a> SceneBuilder<'a> {
|
||||||
}) if paint_page == built_draw_path.paint_page &&
|
}) if paint_page == built_draw_path.paint_page &&
|
||||||
blend_mode == built_draw_path.blend_mode &&
|
blend_mode == built_draw_path.blend_mode &&
|
||||||
!BlendModeProgram::from_blend_mode(
|
!BlendModeProgram::from_blend_mode(
|
||||||
built_draw_path.blend_mode).needs_readable_framebuffer() => {}
|
blend_mode).needs_readable_framebuffer() => {}
|
||||||
_ => {
|
_ => {
|
||||||
culled_tiles.display_list.push(CulledDisplayItem::DrawAlphaTiles {
|
culled_tiles.display_list.push(CulledDisplayItem::DrawAlphaTiles {
|
||||||
tiles: vec![],
|
tiles: vec![],
|
||||||
|
|
Loading…
Reference in New Issue