-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Backends: DX9: font atlas texture format convertion will happen more than once #3868
Labels
Comments
You are right. |
ocornut
added a commit
that referenced
this issue
Mar 3, 2021
Pushed fix now, thank you very much! |
Demonese
pushed a commit
to Demonese/imgui
that referenced
this issue
Mar 4, 2021
Demonese
pushed a commit
to Demonese/imgui
that referenced
this issue
Mar 5, 2021
Demonese
pushed a commit
to Demonese/imgui
that referenced
this issue
Mar 11, 2021
Demonese
pushed a commit
to Demonese/imgui
that referenced
this issue
Mar 13, 2021
Demonese
pushed a commit
to Demonese/imgui
that referenced
this issue
Mar 16, 2021
Demonese
pushed a commit
to Demonese/imgui
that referenced
this issue
Mar 19, 2021
Demonese
pushed a commit
to Demonese/imgui
that referenced
this issue
Apr 29, 2021
Demonese
pushed a commit
to Demonese/imgui
that referenced
this issue
May 25, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version/Branch of Dear ImGui:
Version: 1.82 (WIP latest)
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_dx9.cpp
Compiler: any
Operating System: any
My Issue/Question:
In imgui_draw.cpp, GetTexDataAsRGBA32 will return texture data if has been built.
That means if we don't call Clear manually, the following code will causes the R and B channels to swap multiple times (for example, if we change window size, device will lose and we have to recreate all objects):
Screenshots/Video
first open dx9 example:
adjust window size:
Standalone, minimal, complete and verifiable example: (see #2261)
test code from #3844
main.cpp
How to solve this problem?
How are you again, DX9 Backend, your BGRA32 color format cause so many problems : (
There are several possibilities:
Thanks!
The text was updated successfully, but these errors were encountered: