Skip to content

Commit

Permalink
remove cfg for non-existing feature
Browse files Browse the repository at this point in the history
  • Loading branch information
TotalKrill committed Nov 12, 2023
1 parent 81c4ee5 commit 5d0e14f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/bevy_text/src/glyph_brush.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,8 @@ pub struct PositionedGlyph {
pub byte_index: usize,
}

#[cfg(not(feature = "subpixel_glyph_atlas"))]
struct GlyphPlacementAdjuster(f32);

#[cfg(not(feature = "subpixel_glyph_atlas"))]
impl GlyphPlacementAdjuster {
#[inline(always)]
pub fn new(glyph: &mut Glyph) -> Self {
Expand Down

0 comments on commit 5d0e14f

Please sign in to comment.