Mercurial > sdl-ios-xcode
diff src/video/SDL_blit.c @ 2328:91e601d9df8b
re: bug#563. checking in some commented out trace code and a fix so that the in testalpha.c the background only flashes when alpha == 255. The problem that is being
fixed is caused by clearing SDL_COPY_RLE_COLORKEY without setting SDL_COPY_RLE_DESIRED in SDL_UnRELSurface.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Fri, 14 Mar 2008 18:17:49 +0000 |
parents | c785543d1843 |
children | c1a390f6a819 |
line wrap: on
line diff
--- a/src/video/SDL_blit.c Fri Mar 07 23:57:15 2008 +0000 +++ b/src/video/SDL_blit.c Fri Mar 14 18:17:49 2008 +0000 @@ -260,7 +260,8 @@ surface->format->Amask); Uint32 dst_format = SDL_MasksToPixelFormatEnum(dst->format->BitsPerPixel, - dst->format->Rmask, dst->format->Gmask, + dst->format->Rmask, + dst->format->Gmask, dst->format->Bmask, dst->format->Amask);