The line: "ctx->PSGetSamplers(0, 1, &old.PSSampler);" will fail silently (no return code) but will not modify old.PSSampler making the game crash when accessing uninitialized memory.  | 
			||
|---|---|---|
| .. | ||
| imgui_impl_dx9.cpp | ||
| imgui_impl_dx9.h | ||
| imgui_impl_dx10.cpp | ||
| imgui_impl_dx10.h | ||
| imgui_impl_dx11.cpp | ||
| imgui_impl_dx11.h | ||
| imgui_impl_dx12.cpp | ||
| imgui_impl_dx12.h | ||
| imgui_impl_win32.cpp | ||
| imgui_impl_win32.h | ||