We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version/Branch of Dear ImGui:
Version: Any Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_dx11.cpp + imgui_impl_win32.cpp Compiler: MSVC (VS Community 2019), C++14 Operating System: Windows 10
My Issue/Question: When using my game overlay, some DX11 games crash when using the DX11 renderer at
imgui/backends/imgui_impl_dx11.cpp
Line 267 in d6a5cc7
Line 209 in d6a5cc7
old.PSSampler
My quick fix is just to initialize old like so:
BACKUP_DX11_STATE old = {};
All pointers will be nulled and not used because there are already if(old.thing != NULL) checks in the code.
if(old.thing != NULL)
Its an old issue I fixed on my project, I'll see if I can remember on what game it crashed.
The text was updated successfully, but these errors were encountered:
Backends: DirectX10, DirectX11: fixed a crash when backing/restoring …
858ea17
…state if nothing is bound when entering the rendering function. (#4045)
That makes sense. Merged the fix: 858ea17 Thanks a lot!
Sorry, something went wrong.
Thanks
No branches or pull requests
Version/Branch of Dear ImGui:
Version: Any
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_dx11.cpp + imgui_impl_win32.cpp
Compiler: MSVC (VS Community 2019), C++14
Operating System: Windows 10
My Issue/Question:
When using my game overlay, some DX11 games crash when using the DX11 renderer at
imgui/backends/imgui_impl_dx11.cpp
Line 267 in d6a5cc7
because
imgui/backends/imgui_impl_dx11.cpp
Line 209 in d6a5cc7
failed silently (this function has no return code) and the content of
old.PSSampler
will then be uninitialized (some random stuff in it).My quick fix is just to initialize old like so:
All pointers will be nulled and not used because there are already
if(old.thing != NULL)
checks in the code.Its an old issue I fixed on my project, I'll see if I can remember on what game it crashed.
The text was updated successfully, but these errors were encountered: