Skip to content

Commit

Permalink
Add reference to issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cart committed Nov 11, 2023
1 parent e0624c7 commit 73156be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_render/src/render_resource/shader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ impl AssetLoader for ShaderLoader {
let ext = load_context.path().extension().unwrap().to_str().unwrap();
let path = load_context.asset_path().to_string();
// On windows, the path will inconsistently use \ or /.
// TODO: remove this once AssetPath forces cross-platform "slash" consistency
// TODO: remove this once AssetPath forces cross-platform "slash" consistency. See #10511
let path = path.replace("\\", "/");
let mut bytes = Vec::new();
reader.read_to_end(&mut bytes).await?;
Expand Down

0 comments on commit 73156be

Please sign in to comment.