cmake: Remove HAVE_D3D12_H from sources and introduce SDL_RENDER_D3D(11|12)

This commit is contained in:
Anonymous Maarten
2024-08-01 15:49:02 +02:00
committed by Anonymous Maarten
parent 0c5bb532c3
commit 68fb07787b
6 changed files with 14 additions and 29 deletions

View File

@@ -42,7 +42,6 @@
#define HAVE_WINDOWS_GAMING_INPUT_H 1
#define HAVE_D3D11_H 1
#define HAVE_ROAPI_H 1
#define HAVE_D3D12_H 1
#define HAVE_SHELLSCALINGAPI_H 1
#define HAVE_MMDEVICEAPI_H 1
#define HAVE_AUDIOCLIENT_H 1
@@ -215,7 +214,7 @@
#if !defined(SDL_VIDEO_RENDER_D3D11) && defined(HAVE_D3D11_H)
#define SDL_VIDEO_RENDER_D3D11 1
#endif
#if !defined(SDL_VIDEO_RENDER_D3D12) && defined(HAVE_D3D12_H)
#if !defined(SDL_VIDEO_RENDER_D3D12)
#define SDL_VIDEO_RENDER_D3D12 1
#endif