Add SDL_HAVE_RENDER_GEOMETRY to compile or not with RenderGeometry support

This commit is contained in:
Sylvain
2021-04-06 21:32:02 +02:00
committed by Sylvain Becker
parent b9bd9da78f
commit 47db47c1cc
11 changed files with 60 additions and 4 deletions

View File

@@ -116,6 +116,12 @@
#define SDL_HAVE_YUV !SDL_LEAN_AND_MEAN
#endif
/* SDL Renderer
- SDL_RenderGeometry() */
#ifndef SDL_HAVE_RENDER_GEOMETRY
#define SDL_HAVE_RENDER_GEOMETRY !SDL_LEAN_AND_MEAN
#endif
#include "SDL_assert.h"
#include "SDL_log.h"