Commit Graph

9 Commits (9b178146c45a1b459ab6225194125f0187c219e4)

Author SHA1 Message Date
Nemirtingas 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.
5 years ago
Nemirtingas 757dc479e4 Removed inline 5 years ago
Nemirtingas d06fbba104 Added error handling when hook fails 5 years ago
Nemirtingas 40615d07a7 Reworked how renderers are hooked.
Some games doesn't initialise Steam before initalizing their Renderer (even if the doc says to) . So instead of waiting for the game to initialize it, hook to the rendering functions and deduce which implementation should be used.
5 years ago
Nemirtingas 4d3c355fcc Renammed hook_<renderer> to start_hook 5 years ago
Nemirtingas d87760b78b Created a define to not compile overlay. 5 years ago
Nemirtingas 56b4e6a7c7 Added preprocessor exclusion for linux 5 years ago
Nemirtingas 890f19c20a Fixing cross compiling with clang-cl 5 years ago
Nemirtingas 6328b59b0b Added opengl hook 5 years ago