Browse Source

graphics-hook: Remove unused code

jpark37 3 years ago
parent
commit
5fd22f3dfd
1 changed files with 0 additions and 2 deletions
  1. 0 2
      plugins/win-capture/graphics-hook/dxgi-capture.cpp

+ 0 - 2
plugins/win-capture/graphics-hook/dxgi-capture.cpp

@@ -290,8 +290,6 @@ hook_present1(IDXGISwapChain1 *swap, UINT sync_interval, UINT flags,
 		IUnknown *backbuffer = get_dxgi_backbuffer(swap);
 
 		if (backbuffer) {
-			DXGI_SWAP_CHAIN_DESC1 desc;
-			swap->GetDesc1(&desc);
 			data.capture(swap, backbuffer);
 			backbuffer->Release();
 		}