dd530e80b1
Now passing to hooks device object.
...
Added Base_Hook::get_lib_name to track what renderer is hooked for overlay.
Objects used to detect renderer type are now also used to hook the rendering functions. So we don't have to build another device.
Updated VTables for DX12.
2019-08-26 16:38:01 +02:00
cd8c5fc2ea
Fixed memory leak
2019-08-25 21:22:25 +02:00
f096a2d8a2
Use LoadLibrary instead of LoadModule
...
LoadLibrary increase the reference count to the library. So we make sure this library is still loaded when we shut down the hook.
2019-08-18 16:19:28 +02:00
2fe5e90294
Reworked booleans
2019-08-16 10:28:23 +02:00
d87760b78b
Created a define to not compile overlay.
2019-08-14 15:09:57 +02:00
dda1e3210c
Fixed dual hook on last function call
2019-08-01 17:04:49 +02:00
631bcf9edf
Updated hooks.
2019-08-01 15:47:43 +02:00
2ba8cae64e
Added DirectX hooks
...
Warning: DX9 doesn't support resizing (TODO), DX12 has not beed tested and is not finished.
No OpenGL support for now.
2019-07-25 23:21:03 +02:00