Add a common include file.

This commit is contained in:
Nemirtingas 2020-07-16 11:56:24 +02:00
parent 25ee1dfa52
commit fe9bbd1104
36 changed files with 236 additions and 250 deletions

View file

@ -254,7 +254,7 @@ DX12_Hook::DX12_Hook():
ResizeTarget(nullptr),
ExecuteCommandLists(nullptr)
{
_library = LoadLibrary(DLL_NAME);
_library = LoadLibrary(DX12_DLL);
PRINT_DEBUG("DX12 support is experimental, don't complain if it doesn't work as expected.\n");
}
@ -296,7 +296,7 @@ DX12_Hook* DX12_Hook::Inst()
const char* DX12_Hook::get_lib_name() const
{
return DLL_NAME;
return DX12_DLL;
}
void DX12_Hook::loadFunctions(ID3D12CommandQueue* pCommandQueue, IDXGISwapChain *pSwapChain)