Skip to content

Commit

Permalink
[host] windows: make DXGI the default capture interface, D12 is not r…
Browse files Browse the repository at this point in the history
…eady
  • Loading branch information
gnif committed Feb 1, 2024
1 parent be82b7e commit 071e432
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions host/platform/Windows/capture/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 071e432

Please sign in to comment.