diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 88a862e0..810dc758 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -257,7 +257,9 @@ void init_engine(const Options &options) } SDL_WM_SetCaption("The Mana World", NULL); - SDL_WM_SetIcon(IMG_Load(TMW_DATADIR "data/icons/tmw.png"), NULL); + SDL_Surface *icon = IMG_Load(TMW_DATADIR "data/icons/tmw-32x32.png"); + SDL_SetAlpha(icon, SDL_SRCALPHA, SDL_ALPHA_OPAQUE); + SDL_WM_SetIcon(icon, NULL); #ifdef USE_OPENGL bool useOpenGL = (config.getValue("opengl", 0) == 1); |