diff --git a/crates/epaint/src/tessellator.rs b/crates/epaint/src/tessellator.rs index e8f8ad52cd6b..6d953f2577a5 100644 --- a/crates/epaint/src/tessellator.rs +++ b/crates/epaint/src/tessellator.rs @@ -1810,7 +1810,7 @@ impl Tessellator { } } - if stroke.is_empty() { + if stroke.is_empty() && out.texture_id == TextureId::default() { // Approximate thin rectangles with line segments. // This is important so that thin rectangles look good. if rect.width() <= 2.0 * self.feathering {