Skip to content
New issue

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

init swapchain for metal when window changed #5

Merged
merged 122 commits into from
Jul 23, 2020

Conversation

CedricGuillemet
Copy link

No description provided.

bkaradzic and others added 29 commits July 5, 2020 21:30
Changing the xcode platform to just `Native`. This lets xcode handle
all the target stuff, and works regardless of target.
On some platforms (Windows) the framebuffer size becomes 0x0 when
the window is minimized. This leads to a validation error and
subsequently crashes.

This change correctly cleans up semaphores and the swapchain.
…dzic#2123)

* Improves handling of window resizes on vulkan (avoids crashes)

* Change to previous commit as requested.
Rebased and added refresh swapchain check inside updateResolution(),
similar to renderer_d3d12.cpp.
@CedricGuillemet CedricGuillemet merged commit 58ca2b8 into BabylonJS:master Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.