mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-29 14:38:29 +00:00
Build config flags are either defined or undefined, never 0
This is for consistency with CMake build configuration Also added SDL_VIDEO_RENDER_GPU to the non-CMake build configurations
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_RENDER_D3D12
|
||||
#ifdef SDL_VIDEO_RENDER_D3D12
|
||||
|
||||
#define SDL_D3D12_NUM_BUFFERS 2
|
||||
#define SDL_D3D12_NUM_VERTEX_BUFFERS 256
|
||||
@@ -3286,4 +3286,4 @@ SDL_RenderDriver D3D12_RenderDriver = {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // SDL_VIDEO_RENDER_D3D12 && !SDL_RENDER_DISABLED
|
||||
#endif // SDL_VIDEO_RENDER_D3D12
|
||||
|
Reference in New Issue
Block a user