Skip to content

Commit

Permalink
Shared: Remove window icon on OSX
Browse files Browse the repository at this point in the history
Changes dock icon and looks ugly.
  • Loading branch information
redsaurus committed Apr 20, 2015
1 parent c22a976 commit e7d5dbf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shared/sdl/sdl_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,9 @@ static rserr_t GLimp_SetMode(glconfig_t *glConfig, const windowDesc_t *windowDes
continue;
}

#ifndef MACOS_X
SDL_SetWindowIcon( screen, icon );
#endif

if( fullscreen )
{
Expand Down Expand Up @@ -568,7 +570,9 @@ static rserr_t GLimp_SetMode(glconfig_t *glConfig, const windowDesc_t *windowDes
}
else
{
#ifndef MACOS_X
SDL_SetWindowIcon( screen, icon );
#endif
if( fullscreen )
{
if( SDL_SetWindowDisplayMode( screen, NULL ) < 0 )
Expand Down

1 comment on commit e7d5dbf

@ensiform
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

._. So make one that works.

Please sign in to comment.