Fix -Wundef warnings due to use of unguarded SDL_VIDEO_RENDER_PS2
This commit is contained in:
1 parent
8299dd470a
commit
626e62a1b4
2 files changed
+2
-2
No files matched your search
@@ -107,7 +107,7 @@ static const SDL_RenderDriver *render_drivers[] = {
|
||||
#if SDL_VIDEO_RENDER_OGL_ES2
|
||||
&GLES2_RenderDriver,
|
||||
#endif
|
||||
#if SDL_VIDEO_RENDER_PS2
|
||||
#ifdef SDL_VIDEO_RENDER_PS2
|
||||
&PS2_RenderDriver,
|
||||
#endif
|
||||
#if SDL_VIDEO_RENDER_PSP
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_RENDER_PS2
|
||||
#ifdef SDL_VIDEO_RENDER_PS2
|
||||
|
||||
#include "../SDL_sysrender.h"
|
||||
|
||||
|
||||
Reference in new issue
Block a user