From 071e4323fa5e633c27eed9ba0225a9779b834f5e Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 1 Feb 2024 14:48:44 +1100 Subject: [PATCH] [host] windows: make DXGI the default capture interface, D12 is not ready --- host/platform/Windows/capture/CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/host/platform/Windows/capture/CMakeLists.txt b/host/platform/Windows/capture/CMakeLists.txt index 4d679fcb..7c1f59ca 100644 --- a/host/platform/Windows/capture/CMakeLists.txt +++ b/host/platform/Windows/capture/CMakeLists.txt @@ -18,14 +18,15 @@ if(NOT EXISTS "${nvfbc_sdk}/inc" OR NOT IS_DIRECTORY "${nvfbc_sdk}/inc") set(USE_NVFBC OFF) endif() -if(USE_D12) - add_capture("D12") -endif() - +# NOTE: the order here denotes the default if(USE_DXGI) add_capture("DXGI") endif() +if(USE_D12) + add_capture("D12") +endif() + if(USE_NVFBC) add_capture("NVFBC") endif()