You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3043: Fix validation errors in quad example r=kvark a=demurgos
PR checklist:
- [x] `make` succeeds (on *nix)
- [x] `make reftests` succeeds
- [x] tested examples with the following backends: vulkan, gl (wasm)
- [x] `rustfmt` run on changed code
Fix validation errors in quad example
This commit fixes the Vulkan validation errors for the `quad` example:
- The framebuffer is destroyed without waiting for the command buffer to be executed.
- The swapchain is not destroyed.
This commit also adds a small comment explaining why `main` extends the lifetime of `window` beyond its initial scope.
Co-authored-by: Charles Samborski <demurgos@demurgos.net>
0 commit comments