rebase on opti 0.6.7

This commit is contained in:
cdozdil
2024-10-21 02:44:08 +03:00
parent c440b074cc
commit 6af61458dd
+2 -2
View File
@@ -2105,8 +2105,8 @@ static void HookToDevice(ID3D12Device* InDevice)
DetourTransactionBegin();
DetourUpdateThread(GetCurrentThread());
if (o_CreateDescriptorHeap != nullptr)
DetourAttach(&(PVOID&)o_CreateDescriptorHeap, hkCreateDescriptorHeap);
//if (o_CreateDescriptorHeap != nullptr)
// DetourAttach(&(PVOID&)o_CreateDescriptorHeap, hkCreateDescriptorHeap);
if (o_CreateSampler != nullptr)
DetourAttach(&(PVOID&)o_CreateSampler, hkCreateSampler);