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

@@ -86,6 +86,7 @@ typedef unsigned int uintptr_t;
#define HAVE_DXGI_H 1
#define HAVE_XINPUT_H 1
#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0A00 /* Windows 10 SDK */
#define HAVE_DXGI1_6_H 1
#define HAVE_WINDOWS_GAMING_INPUT_H 1
#endif
#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0602 /* Windows 8 SDK */