remove unused line

This commit is contained in:
otavepto 2024-02-09 05:06:08 +02:00
parent 3474c703e3
commit 8f62d7d487

View File

@ -180,7 +180,7 @@ void DX12_Hook::_PrepareForOverlay(IDXGISwapChain* pSwapChain, ID3D12CommandQueu
if (!_Initialized)
{
UINT bufferIndex = pSwapChain3->GetCurrentBackBufferIndex();
// UINT bufferIndex = pSwapChain3->GetCurrentBackBufferIndex();
pDevice = nullptr;
if (pSwapChain3->GetDevice(IID_PPV_ARGS(&pDevice)) != S_OK)
return;