Check the SDL_VIDEO_RENDER_??? macros with #if instead of #ifdef

Allows users to disable them by defining them as 0.

Closes https://github.com/libsdl-org/SDL/issues/8996
(cherry picked from commit d0731ab9a3)
This commit is contained in:
Ozkan Sezer
2024-02-15 02:55:02 +03:00
parent 7de4f16710
commit 9bed177f10
38 changed files with 147 additions and 95 deletions

View File

@@ -20,7 +20,7 @@
*/
#include "../../SDL_internal.h"
#ifdef SDL_VIDEO_RENDER_PSP
#if SDL_VIDEO_RENDER_PSP
#include "SDL_hints.h"
#include "../SDL_sysrender.h"