mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
9ebcbc1489
The code has been factored. Additionally, 32x32 is used on Windows with SDL_MAJOR_VERSION==1, while 48x48 is the default. See: http://www.libsdl.org/cgi/docwiki.cgi/SDL_WM_SetIcon git-svn-id: https://svn.eduke32.com/eduke32@3222 1a8010ca-5511-0410-912e-c29ae57300e0
18 lines
312 B
C
18 lines
312 B
C
#include "sdlayer.h"
|
|
|
|
static uint8_t sdlappicon_pixels[] = {
|
|
#if defined _WIN32 && SDL_MAJOR_VERSION==1
|
|
# include "eduke32_icon_32px.c"
|
|
#else
|
|
# include "eduke32_icon_48px.c"
|
|
#endif
|
|
};
|
|
|
|
struct sdlappicon sdlappicon = {
|
|
#if defined _WIN32 && SDL_MAJOR_VERSION==1
|
|
32,32,
|
|
#else
|
|
48,48,
|
|
#endif
|
|
sdlappicon_pixels
|
|
};
|