Forráskód Böngészése

win-capture: Remove unused variable from D3D12 capture

jpark37 6 éve
szülő
commit
ef39715c31
1 módosított fájl, 0 hozzáadás és 7 törlés
  1. 0 7
      plugins/win-capture/graphics-hook/d3d12-capture.cpp

+ 0 - 7
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;