graphics-hook: Fix build without COMPILE_D3D12_HOOK

Just need to forward declare D3D12 type.
master
jpark37 2021-02-14 22:03:04 -08:00 committed by Jim
parent 23e9d4153e
commit 17cb0acdd7
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ static struct func_hook present;
static struct func_hook present1;
thread_local bool dxgi_presenting = false;
ID3D12CommandQueue *dxgi_possible_swap_queue = nullptr;
struct ID3D12CommandQueue *dxgi_possible_swap_queue = nullptr;
bool dxgi_present_attempted = false;
struct dxgi_swap_data {