bevy/crates/bevy_image
andriyDev 2fbad7d845
Fix off-by-one error on Image::get_color_at and Image::set_color_at. (#16475)
# Objective

- Fixes #16474.

## Solution

- Check that the pixel x,y,z is less than width,height,depth.
    - Classic off-by-one.

## Testing

- Added a test.
2024-11-22 18:14:53 +00:00
..
src Fix off-by-one error on Image::get_color_at and Image::set_color_at. (#16475) 2024-11-22 18:14:53 +00:00
Cargo.toml Upgrade to wgpu 23 (#15988) 2024-11-05 21:18:48 +00:00