-
Notifications
You must be signed in to change notification settings - Fork 145
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
wgpu example fails with "Swap-chain error: Outdated" #721
Comments
Thanks for filing this. I've seen something like that on some GPUs and not others, I suspect that it is related to resizing the window. I'll spend some time looking into how people handle that with wgpu some time soon-ish. |
Could you try again with the latest changes of the master branch? I made a few changes which might have fixed this issue (it wasn't happening on my laptop so I couldn't test). |
I pulled |
Is it only printing the error in the terminal or also crashing the example? |
It prints the error once per frame, which is a lot of times when your monitor has high refresh rate. The window stays white. |
OK goog to know thanks, I'll keep digging. |
This is most likely a bug in Vulkan validation layers. See KhronosGroup/Vulkan-ValidationLayers#1340 |
This happens on Windows 10. Changing the window sizes to 800,600 works though.
The text was updated successfully, but these errors were encountered: