Use bundle icon on Mac OS X instead of internal 32x32 window icon

This commit is contained in:
Zack Middleton 2013-10-19 01:54:58 -05:00
parent 983ebbb4a6
commit 8c1d3c635c
1 changed files with 2 additions and 0 deletions

View File

@ -207,6 +207,7 @@ static int GLimp_SetMode(int mode, qboolean fullscreen, qboolean noborder)
if ( r_allowResize->integer )
flags |= SDL_WINDOW_RESIZABLE;
#ifdef USE_ICON
icon = SDL_CreateRGBSurfaceFrom(
(void *)CLIENT_WINDOW_ICON.pixel_data,
CLIENT_WINDOW_ICON.width,
@ -219,6 +220,7 @@ static int GLimp_SetMode(int mode, qboolean fullscreen, qboolean noborder)
0xFF000000, 0x00FF0000, 0x0000FF00, 0x000000FF
#endif
);
#endif
// If a window exists, note its display index
if( SDL_window != NULL )