Mercurial > sdl-ios-xcode
diff src/video/quartz/SDL_QuartzWM.m @ 324:f25f666d609a
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 30 Mar 2002 21:41:01 +0000 |
parents | 767c10b9ec9f |
children | 19e73568a75c |
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzWM.m Sat Mar 30 20:03:27 2002 +0000 +++ b/src/video/quartz/SDL_QuartzWM.m Sat Mar 30 21:41:01 2002 +0000 @@ -231,9 +231,11 @@ SDL_GetClipRect(icon, &rrect); /* create a big endian RGBA surface */ mergedSurface = SDL_CreateRGBSurface(SDL_SWSURFACE|SDL_SRCALPHA, -icon->w, icon->h, 32, 0xff<<24, 0xff<<16, 0xff<<8, 0xff<<0); - if (mergedSurface==NULL) { NSLog(@"Error creating surface for -merge"); goto freePool; } + icon->w, icon->h, 32, 0xff<<24, 0xff<<16, 0xff<<8, 0xff<<0); + if (mergedSurface==NULL) { + NSLog(@"Error creating surface for merge"); + goto freePool; + } if (SDL_BlitSurface(icon,&rrect,mergedSurface,&rrect)) { NSLog(@"Error blitting to mergedSurface"); goto freePool;