-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
d3d11 Multi-Viewport bug #6208
Comments
I find the color error seems to be with the color space. I use the I still don't know how to fix the multi-view issue (When I put the imgui window next to the main window, the program will freeze) . |
Hello,
|
Error comes from imgui_impl_dx12.cpp line 906
|
I guess it goes back to using DXGI_FORMAT_R8G8B8A8_UNORM_SRGB instead of DXGI_FORMAT_R8G8B8A8_UNORM |
Version/Branch of Dear ImGui:
Version: 1.88
Branch: docking
Backend:
C++20, Windows10
I tried both two ways:
imgui_impl_dx11 + imgui_impl_glfw
imgui_impl_dx11 + imgui_impl_win32
All appear the same bug.
When I disable the Multi-Viewport, it seems only the color not right:
2023-03-02.01-06-49.mp4
However, when I enable Multi-Viewport with code:
It will raise a bug:
2023-03-02.01-07-23.mp4
When I put the imgui window next to the main window, the program will freeze.
I used the
DXGI_SWAP_EFFECT_FLIP_DISCARD
effect to create my swapchain, I find it probably related to the swapchain. And it seems I must clear my RenderTarget when imgui draw.Some code I write:
ImguiInit Function I writed:
Hope to get your help.
The text was updated successfully, but these errors were encountered: