Fix -Wundef warnings due to use of unguarded SDL_VIDEO_RENDER_METAL
This commit is contained in:
1 parent
ece25f27fa
commit
8299dd470a
2 files changed
+2
-2
No files matched your search
@@ -98,7 +98,7 @@ static const SDL_RenderDriver *render_drivers[] = {
|
|||||||
#ifdef SDL_VIDEO_RENDER_D3D
|
#ifdef SDL_VIDEO_RENDER_D3D
|
||||||
&D3D_RenderDriver,
|
&D3D_RenderDriver,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_RENDER_METAL
|
#ifdef SDL_VIDEO_RENDER_METAL
|
||||||
&METAL_RenderDriver,
|
&METAL_RenderDriver,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_RENDER_OGL
|
#if SDL_VIDEO_RENDER_OGL
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_RENDER_METAL && !defined(SDL_RENDER_DISABLED)
|
#if defined(SDL_VIDEO_RENDER_METAL) && !defined(SDL_RENDER_DISABLED)
|
||||||
|
|
||||||
#include "../SDL_sysrender.h"
|
#include "../SDL_sysrender.h"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user