Fix batch breaking logic for blend modes

This commit is contained in:
Patrick Walton 2020-02-24 21:22:15 -08:00
parent 00b7a2ee5a
commit 99d980c0c7
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ impl<'a> SceneBuilder<'a> {
}) if paint_page == built_draw_path.paint_page &&
blend_mode == built_draw_path.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 {
tiles: vec![],