Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
robtfm committed Aug 19, 2024
1 parent c1a2c91 commit ca48b8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions crates/bevy_text/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ default_font = []
bevy_app = { path = "../bevy_app", version = "0.14.1" }
bevy_asset = { path = "../bevy_asset", version = "0.14.1" }
bevy_color = { path = "../bevy_color", version = "0.14.2" }
bevy_derive = { path = "../bevy_derive", version = "0.14.1" }
bevy_ecs = { path = "../bevy_ecs", version = "0.14.1" }
bevy_math = { path = "../bevy_math", version = "0.14.1" }
bevy_reflect = { path = "../bevy_reflect", version = "0.14.1", features = [
Expand Down
3 changes: 1 addition & 2 deletions crates/bevy_text/src/font_atlas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,10 @@ impl FontAtlas {
offset: IVec2,
) -> Result<(), TextError> {
let atlas_layout = atlas_layouts.get_mut(&self.texture_atlas).unwrap();
let atlas_texture = textures.get_mut(&self.texture).unwrap();

if let Some(glyph_index) =
self.dynamic_texture_atlas_builder
.add_texture(atlas_layout, texture, atlas_texture)
.add_texture(atlas_layout, textures, texture, &self.texture)
{
self.glyph_to_atlas_index.insert(
cache_key,
Expand Down

0 comments on commit ca48b8d

Please sign in to comment.