d3d12: Import DirectX-Headers, use local d3d12.h in SDL_render.
This avoids lots of build issues with the various D3D12 headers out there (MinGW, old Windows SDKs, etc) and also opens the door for WSL2 libd3d12.so support. Note that the build system has not been changed; technically _all_ platforms now have d3d12.h but we should only enable the backend when it's actually expected to work.
This commit is contained in:
34938
src/video/directx/d3d12.h
Normal file
34938
src/video/directx/d3d12.h
Normal file
File diff suppressed because it is too large
Load Diff
4263
src/video/directx/d3d12sdklayers.h
Normal file
4263
src/video/directx/d3d12sdklayers.h
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user