Use SDL version of executable icon at runtime on macOS

This commit is contained in:
Lach 2022-11-02 23:25:30 +11:00
parent 65737cd4bd
commit 481369cc6c

View file

@ -42,7 +42,7 @@
#ifdef HAVE_IMAGE #ifdef HAVE_IMAGE
#include "SDL_image.h" #include "SDL_image.h"
#elif 1 #elif (!defined(__APPLE__))
#define LOAD_XPM //I want XPM! #define LOAD_XPM //I want XPM!
#include "IMG_xpm.c" //Alam: I don't want to add SDL_Image.dll/so #include "IMG_xpm.c" //Alam: I don't want to add SDL_Image.dll/so
#define HAVE_IMAGE //I have SDL_Image, sortof #define HAVE_IMAGE //I have SDL_Image, sortof