Commit Graph

6 Commits (50f379aa919a90685d54314ca4be13ed900a200c)

Author SHA1 Message Date
Nemirtingas 145cbfdffd Fix crash on some games using DX11.
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.
2020-11-17 17:15:16 +00:00
Nemirtingas dc3dee9ce8 Added more prebuilt shader
Skyrim deployed its own d3dcompile dll that nullifies shaders compilation, so you either have to load the one in C:\Windows\System32|SysWow64 or use prebuilt.
I use prebuilt
2020-01-11 14:42:00 +01:00
Nemirtingas d118aca0f6 Add DX11 shader feature level 2020-01-10 08:53:12 +01:00
Nemirtingas 548f21c2f0 Add a return parameter to ImGui_Impl...._NewFrame()
Why does CreateDeviceObjects return a bool if the NewFrame doesn't ?
Added the return parameter cause CreateDeviceObjects can fail.
It did fail on DX11 with feature level to 9.
2020-01-10 08:10:13 +01:00
Nemirtingas b9cd9ae6c2 Fix build 2019-09-01 20:53:16 +02:00
Nemirtingas 1785ae6eaf Moved every platform specific code to their own folder 2019-09-01 20:48:27 +02:00