Commit graph

10 commits

Author SHA1 Message Date
Nemirtingas
0711c83440 Check if we actually created a new frame 2020-01-10 08:10:33 +01:00
Nemirtingas
547cbdbb4e Added barrier to DX12 overlay.
Gears5 seems to have a problem with the overlay. While loading and in the main menu, it works fine, but if you press enter, it crashes saying the GPU is not responding. Can't debug it with CODEX, it checks for a debugger.
Works fine on sniper elite5.
2019-11-08 15:56:30 +01:00
Nemirtingas
1edbdd8a35 Free DX12 devices on destroy 2019-11-08 15:53:08 +01:00
Nemirtingas
cf3dea2bbe Allow ImGui to process events if the overlay is hidden
This is used for the notifications when overlay is off.
2019-11-08 15:52:50 +01:00
Nemirtingas
c667dbd3af Rework DX12 overlay to use Present to render the overlay 2019-11-08 15:45:52 +01:00
Nemirtingas
4d99b6affd Fix race condition
Fix race condition when renderer was found and we were hooking a library func
2019-10-13 12:27:41 +02:00
Nemirtingas
894300b6f4 Process raw mouse events
Some games doesn't use the window proc to get the mouse events (ETS2), but it checks for raw mouse inputs.
2019-10-13 12:27:37 +02:00
Nemirtingas
6c09635600 Added the possibility to create new fonts.
Fonts cannot be created after a NewFrame call.
2019-09-05 09:00:02 +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