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

Creating a Window with DX12 and Immediate Mode Causes Error in ResizeBuffers #2712

Closed
Tracked by #2719
cwfitzgerald opened this issue Jun 2, 2022 · 1 comment · Fixed by #2803
Closed
Tracked by #2719
Labels
api: dx12 Issues with DX12 or DXGI area: wsi Issues with swapchain management or windowing type: bug Something isn't working
Milestone

Comments

@cwfitzgerald
Copy link
Member

Description

See title.

Extra materials

[ERROR wgpu_hal::dx12] ResizeBuffers failed: invalid argument
[ERROR wgpu_core::device] surface configuration failed: window is in use
thread 'main' panicked at 'Error in Surface::configure: invalid surface', C:\Users\conno\.cargo\git\checkouts\wgpu-53e70f8674b08dd4\8063edc\wgpu\src\backend\direct.rs:249:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Platform
Windows 10 on Intel, I think this happens on AMD too.

@cwfitzgerald cwfitzgerald added type: bug Something isn't working area: correctness We're behaving incorrectly labels Jun 2, 2022
@cwfitzgerald cwfitzgerald added this to the Release 0.13 milestone Jun 2, 2022
@cwfitzgerald cwfitzgerald added api: dx12 Issues with DX12 or DXGI area: wsi Issues with swapchain management or windowing and removed area: correctness We're behaving incorrectly labels Jun 4, 2022
@cwfitzgerald
Copy link
Member Author

DXGI ERROR: IDXGISwapChain::ResizeBuffers: Cannot add or remove the DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING flag using ResizeBuffers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: dx12 Issues with DX12 or DXGI area: wsi Issues with swapchain management or windowing type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant