SDL: update IMG_xpm.c

This commit is contained in:
Alam Ed Arias 2018-08-10 17:08:39 -04:00
parent 653fd3038d
commit 3479310546
3 changed files with 1057 additions and 361 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
/* XPM */
static char * C:\Repo\srb2\src\sdl\SDL_icon_xpm[] = {
static const char * SDL_icon_xpm[] = {
"32 32 390 2",
" c None",
". c #4F4F70",

View File

@ -39,6 +39,10 @@
#ifdef HAVE_IMAGE
#include "SDL_image.h"
#elif 1
#define LOAD_XPM //I want XPM!
#include "IMG_xpm.c" //Alam: I don't want to add SDL_Image.dll/so
#define HAVE_IMAGE //I have SDL_Image, sortof
#endif
#ifdef HAVE_IMAGE