From 73156beae3c3395d931c98d03dc8a9f1c2b526ab Mon Sep 17 00:00:00 2001 From: Carter Anderson Date: Sat, 11 Nov 2023 13:34:15 -0800 Subject: [PATCH] Add reference to issue --- crates/bevy_render/src/render_resource/shader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_render/src/render_resource/shader.rs b/crates/bevy_render/src/render_resource/shader.rs index a622071378842..32750b6093af7 100644 --- a/crates/bevy_render/src/render_resource/shader.rs +++ b/crates/bevy_render/src/render_resource/shader.rs @@ -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?;