mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-12 09:25:42 +00:00
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_RENDER_METAL
This commit is contained in:
parent
ece25f27fa
commit
8299dd470a
2 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ static const SDL_RenderDriver *render_drivers[] = {
|
|||
#ifdef SDL_VIDEO_RENDER_D3D
|
||||
&D3D_RenderDriver,
|
||||
#endif
|
||||
#if SDL_VIDEO_RENDER_METAL
|
||||
#ifdef SDL_VIDEO_RENDER_METAL
|
||||
&METAL_RenderDriver,
|
||||
#endif
|
||||
#if SDL_VIDEO_RENDER_OGL
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
#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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue