Skip to content

Commit

Permalink
fix bug with checking last drawlist was texture
Browse files Browse the repository at this point in the history
  • Loading branch information
streak324 authored and not-fl3 committed Feb 3, 2024
1 parent d5034e5 commit 5587702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/render/mesh_rasterizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ fn get_active_draw_list<'a, 'b>(
if !last
.texture
.as_ref()
.map_or(true, |t| t.texture == texture.texture)
.map_or(false, |t| t.texture == texture.texture)
{
let clipping_zone = last.clipping_zone;

Expand Down

0 comments on commit 5587702

Please sign in to comment.