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
2174: metal: Hack to fix the first frame of a swapchain r=kvark a=scoopr
The freeing up of the drawable now checks if there is anything to free
from the has_swapchain boolean.
The boolean is totally a hack, and might have some edge-cases where it
is wrong, but this happens to fix warnings and red-frame flashes
(present of not drawn frame) from the quad example, with the resizing
still working.
Fixes #issue
PR checklist:
- [ ] `make` succeeds (on *nix)
- [ ] `make reftests` succeeds
- [ ] tested examples with the following backends:
Co-authored-by: Mikko Lehtonen <[email protected]>
0 commit comments