From ef39715c31dcb6bf2ad42af919c6c261955a9faf Mon Sep 17 00:00:00 2001 From: jpark37 Date: Sun, 8 Sep 2019 22:36:25 -0700 Subject: [PATCH] win-capture: Remove unused variable from D3D12 capture --- plugins/win-capture/graphics-hook/d3d12-capture.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/plugins/win-capture/graphics-hook/d3d12-capture.cpp b/plugins/win-capture/graphics-hook/d3d12-capture.cpp index b95e534e0..00fbf6e26 100644 --- a/plugins/win-capture/graphics-hook/d3d12-capture.cpp +++ b/plugins/win-capture/graphics-hook/d3d12-capture.cpp @@ -137,13 +137,6 @@ static bool create_d3d12_tex(bb_info &bb) typedef PFN_D3D11ON12_CREATE_DEVICE create_11_on_12_t; -const static D3D_FEATURE_LEVEL feature_levels[] = { - D3D_FEATURE_LEVEL_11_0, - D3D_FEATURE_LEVEL_10_1, - D3D_FEATURE_LEVEL_10_0, - D3D_FEATURE_LEVEL_9_3, -}; - static bool d3d12_init_11on12(void) { static HMODULE d3d11 = nullptr;