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

desktop: Don't render while minimized #2142

Merged
merged 1 commit into from
Dec 29, 2020

Conversation

Herschel
Copy link
Member

On desktop, don't render while the window is minimized.

In the wgpu backend, don't panic if swap chain fails to grab a
texture. Instead recreate the swap chain and bail on the current
frame. This may get cleaned up in upstream wgpu at some point,
but we should probably not render when minimized regardless.

Fixes panic when minimizing with the wgpu vulkan backend (#2065).

On desktop, don't render while the window is minimized.

In the wgpu backend, don't panic if swap chain fails to grab a
texture. Instead recreate the swap chain and bail on the current
frame.

Fixes panic when minimizing with the wgpu vulkan backend (ruffle-rs#2065).
@Herschel Herschel merged commit 6aafb46 into ruffle-rs:master Dec 29, 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.

1 participant