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.
This commit is contained in:
Nemirtingas 2019-08-26 16:38:01 +02:00
parent cd8c5fc2ea
commit dd530e80b1
17 changed files with 277 additions and 185 deletions

View file

@ -38,6 +38,7 @@ private:
public:
bool start_hook();
static OpenGL_Hook* Inst();
virtual const char* get_lib_name() const;
};
#endif//NO_OVERLAY