Skip to content

Commit

Permalink
Copy/paste errors
Browse files Browse the repository at this point in the history
  • Loading branch information
richchurcher committed Sep 21, 2024
1 parent 4cec4bb commit 7701926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/asset/alter_sprite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
// - for the GPU (`RenderAssetUsages::RENDER_WORLD`),
// - for the CPU (`RenderAssetUsages::MAIN_WORLD`),
// - or both.
// `RENDER_WORLD` is necessary to render the mesh, `MAIN_WORLD` is necessary to inspect
// and modify the mesh (via `ResMut<Assets<Image>>`).
// `RENDER_WORLD` is necessary to render the image, `MAIN_WORLD` is necessary to inspect
// and modify the image (via `ResMut<Assets<Image>>`).
//
// Since most games will not need to modify textures at runtime, many developers opt to pass
// only `RENDER_WORLD`. This is more memory efficient, as we don't need to keep the image in
Expand Down

0 comments on commit 7701926

Please sign in to comment.