This repository has been archived by the owner on Jun 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 185
Examples: Don't Resize Swapchain to 0x0 #316
Labels
bug
Something isn't working
Comments
What platform? When I try with the cube example, I get a assert failure in cgmath due to trying to make a proj matrix with an aspect ratio of NaN (0/0). After some validation issues.
|
I am able to reproduce this on the latest wgpu (
Backend: Vulkan |
kejor
pushed a commit
to kejor/wgpu-rs
that referenced
this issue
Nov 28, 2020
316: Testing adding iOS matrix. r=kvark a=seivan I'm not sure `GLFW3` would work for iOS, but lets see what Travis says? Co-authored-by: Seivan Heidari <[email protected]>
cwfitzgerald
changed the title
Crash when minimizing the window
Examples: Don't Resize Swapchain to 0x0
Dec 1, 2020
We need to add validation for 0x0 swapchains as per gfx-rs/wgpu#1026, we also need to make sure our examples don't ask for one either. |
Closed
This is an old issue that is likely fixed. We are moving to wgpu now, so please re-open there if still a bug! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When minimizing the window of the examples, the framework try to create a swapchain with dimension 0, which crashes with an OutOfMemory(Device) error. What could be a correct fix?
https://github.com/gfx-rs/wgpu-rs/blob/master/examples/framework.rs#L150-L153
The text was updated successfully, but these errors were encountered: