Closed sezero closed 2 months ago
The d3d11 change looks good. Let's add a similar check at the top of the d3d12 file:
#ifdef __IDXGIInfoQueue_INTERFACE_DEFINED__
#define HAVE_IDXGIINFOQUEUE
#endif
and key off of that.
@sezero, can you implement this, since you have a build environment that is affected?
I had build errors in SDL_gpu_d3d11 and SDL_gpu_d3d12 against mingw-w64 headers version 8.0.3, because :
_WIN32_WINNT >= 0x0600
_WIN32
is already defined by MinGW, as is the case for all windows- targeting compilers, so it doesn't guarantee absence of DXGIInfoQueue stuff. (SDL_gpu_d3d11.c only)I generated the following patch, but not sure about it. Can you gpu guys please review? (I can make it into a pull request, too, if you guys are more comfortable with that.)