mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 13:40:56 +00:00
Use bundle icon on Mac OS X instead of internal 32x32 window icon
This commit is contained in:
parent
983ebbb4a6
commit
8c1d3c635c
1 changed files with 2 additions and 0 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue