We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description examples/src/bunnymark/mod.rs computes an Orthographic RH matrix on page load, but if the canvas is resized, the matrix is not recomputed.
See all uses of config.width and config.height inside examples/src/bunnymark/mod.rs
Repro steps (1) Open https://wgpu.rs/examples/?backend=webgpu&example=bunnymark in Chrome 126.0.6478.127 (2) Resize the window
Expected vs observed behavior Observed: Bunnies bounce outside of the canvas or don't bounce to the top
Expected: bunnies bounce within the resized canvas
Extra materials
Platform macOS using Chrome Version 128.0.6562.0 (Official Build) canary (arm64)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
examples/src/bunnymark/mod.rs computes an Orthographic RH matrix on page load, but if the canvas is resized, the matrix is not recomputed.
See all uses of config.width and config.height inside examples/src/bunnymark/mod.rs
Repro steps
(1) Open https://wgpu.rs/examples/?backend=webgpu&example=bunnymark in Chrome 126.0.6478.127
(2) Resize the window
Expected vs observed behavior
Observed: Bunnies bounce outside of the canvas or don't bounce to the top
Expected: bunnies bounce within the resized canvas
Extra materials
bunnies_outside_canvas.mov
Platform
macOS using Chrome Version 128.0.6562.0 (Official Build) canary (arm64)
The text was updated successfully, but these errors were encountered: