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

@ -20,7 +20,7 @@
*/
#include "../../SDL_internal.h"
#if SDL_VIDEO_RENDER_SW && !SDL_RENDER_DISABLED
#if SDL_VIDEO_RENDER_SW && !SDL_RENDER_DISABLED && SDL_HAVE_RENDER_GEOMETRY
#include "SDL_surface.h"
#include "SDL_triangle.h"