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

@@ -41,7 +41,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
@@ -208,7 +207,7 @@
#define SDL_VIDEO_DRIVER_DUMMY 1
#define SDL_VIDEO_DRIVER_WINDOWS 1
#if !defined(SDL_VIDEO_RENDER_D3D12) && defined(HAVE_D3D12_H)
#if !defined(SDL_VIDEO_RENDER_D3D12)
#define SDL_VIDEO_RENDER_D3D12 1
#endif