bevy/crates/bevy_render
Carter Anderson b32976504d Fix shader import hot reloading on windows (#10502)
# Objective

Hot reloading shader imports on windows is currently broken due to
inconsistent `/` and `\` usage ('/` is used in the user facing APIs and
`\` is produced by notify-rs (and likely other OS apis).

Fixes #10500

## Solution

Standardize import paths when loading a `Shader`. The correct long term
fix is to standardize AssetPath on `/`-only, but this is the right scope
of fix for a patch release.

---------

Co-authored-by: François <mockersf@gmail.com>
2023-11-29 16:41:02 -08:00
..
macros Release 0.12 (#10362) 2023-11-04 17:24:23 +00:00
src Fix shader import hot reloading on windows (#10502) 2023-11-29 16:41:02 -08:00
Cargo.toml Release 0.12 (#10362) 2023-11-04 17:24:23 +00:00