We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51c5171 commit 14447d3Copy full SHA for 14447d3
1 file changed
wgpu/src/image/atlas.rs
@@ -353,9 +353,7 @@ impl Atlas {
353
354
// bounds check for pad_w low / high to fragment
355
if pad_w > 0
356
- && (offset + stride < PIXEL
357
- || offset + image_width as usize * PIXEL * h + PIXEL
358
- > pixels.len())
+ && offset + image_width as usize * PIXEL * h + PIXEL > pixels.len()
359
{
360
return;
361
}
0 commit comments