check dxgi1_6.h before enabling sdr/hdr code in SDL_windowsmodes.c

thanks @madebr
This commit is contained in:
Ozkan Sezer committed 2024-05-28 22:11:56 +03:00
1 parent 00a7b14ee7
commit 2b374e6c0f
5 files changed
+13 -1

No files matched your search

+1
View File
@@ -1911,6 +1911,7 @@ elseif(WINDOWS)
endif()
# headers needed elsewhere
check_include_file(dxgi1_6.h HAVE_DXGI1_6_H)
check_include_file(tpcshrd.h HAVE_TPCSHRD_H)
check_include_file(roapi.h HAVE_ROAPI_H)
check_include_file(mmdeviceapi.h HAVE_MMDEVICEAPI_H)