Commit Graph

22 Commits

Author SHA1 Message Date
Mr_Goldberg
ccc48d83a8
Fix dx9 overlay graphics bug with black mesa. 2021-01-23 16:48:45 -05:00
Mr_Goldberg
cfff531a23
Put back the if new frame for overlay. 2021-01-23 16:46:44 -05:00
Mr_Goldberg
d6bdde0123
Update ImGui 2021-01-17 22:58:42 -05:00
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
Mr_Goldberg
6d96784af1
Fix menu buttons not working in Aoe2DE. 2020-01-26 09:45:54 -05: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
121df0ef39 Uncomment thing 2019-11-08 15:52:59 +01:00
Nemirtingas
1016e7f47f Fix lag on events
Found on sanctum2, returning 0 in XPending & XEventsQueued make the SDL do something else than polling events and makes lag the event loop.
Now the event loop returns 0 when there are no more events.
2019-09-03 17:25:42 +02:00
Nemirtingas
9fa4053551 Cleanup 2019-09-03 11:38:54 +02:00
Nemirtingas
bb8cfbda10 Updated ImGui event handle for X11 2019-09-03 11:37:36 +02:00
Nemirtingas
aeeb85da55 This should do something like this
(Working on portal2 ubuntu 18.04)
2019-09-02 10:51:16 +02: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
Nemirtingas
8a6db1c401 ImGui X11 impl 2019-09-01 20:47:04 +02:00
Nemirtingas
1ce95ec672 Fixed compilation on Clang-cl 2019-08-14 18:06:32 +02:00
Nemirtingas
3a0d9c55c1 Added support for dynamic d3dcompile load
If you really want to use d3dcompile, then I think its better to find the most recent d3dcompile you have on your computer and load its D3DCompile function.
This process is now automatically handled. Just define  the right Preprocessor.
2019-08-02 09:06:59 +02:00
Nemirtingas
6328b59b0b Added opengl hook 2019-08-01 15:47:38 +02:00
Nemirtingas
3d3c8b26cd Added ImGui precompiled shaders
(And removed dependency to d3dcompile)
2019-07-25 23:32:52 +02:00
Nemirtingas
cb28b22fd3 Don't support gamepad (remove directinput dependency) 2019-07-25 23:27:54 +02:00
Nemirtingas
176c9eb7dd Added ImGui base code
I'll implement overlay with ImGui
2019-07-25 23:25:46 +02:00