A few #defines to reduce SDL2 footprint.

Only applied when library is statically linked
This commit is contained in:
Sylvain Becker 2020-01-21 21:33:40 +01:00
parent 25c88ea903
commit 7df22cf2c2
7 changed files with 75 additions and 13 deletions

View file

@ -51,6 +51,17 @@
#include "SDL_config.h"
/* A few #defines to reduce SDL2 footprint.
Only applied when library is statically linked */
#define SDL_HAVE_BLIT_0 1
#define SDL_HAVE_BLIT_1 1
#define SDL_HAVE_BLIT_A 1
#define SDL_HAVE_BLIT_N 1
#define SDL_HAVE_BLIT_AUTO 1
#define SDL_HAVE_RLE 1
#define SDL_VIDEO_RENDER_SW 1
#define SDL_HAVE_YUV 1
#endif /* SDL_internal_h_ */
/* vi: set ts=4 sw=4 expandtab: */