Disable buildin icon loading on os x
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2990
This commit is contained in:
parent
a3ef7e594c
commit
5c9a311f7b
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: sdlmain.cpp,v 1.133 2007-08-18 16:32:04 qbix79 Exp $ */
|
||||
/* $Id: sdlmain.cpp,v 1.134 2007-08-26 18:03:25 qbix79 Exp $ */
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
|
@ -948,13 +948,16 @@ static void GUI_StartUp(Section * sec) {
|
|||
sdl.active=false;
|
||||
sdl.updating=false;
|
||||
|
||||
#if !defined(MACOSX)
|
||||
/* Set Icon (must be done before any sdl_setvideomode call) */
|
||||
/* But don't set it on OS X, as we use a nicer external icon there. */
|
||||
#if WORDS_BIGENDIAN
|
||||
SDL_Surface* logos= SDL_CreateRGBSurfaceFrom((void*)logo,32,32,32,128,0xff000000,0x00ff0000,0x0000ff00,0);
|
||||
#else
|
||||
SDL_Surface* logos= SDL_CreateRGBSurfaceFrom((void*)logo,32,32,32,128,0x000000ff,0x0000ff00,0x00ff0000,0);
|
||||
#endif
|
||||
SDL_WM_SetIcon(logos,NULL);
|
||||
#endif
|
||||
|
||||
sdl.desktop.fullscreen=section->Get_bool("fullscreen");
|
||||
sdl.wait_on_error=section->Get_bool("waitonerror");
|
||||
|
|
Loading…
Add table
Reference in a new issue