comparison 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
comparison
equal deleted inserted replaced
2327:7b53a8401195 2328:91e601d9df8b
258 surface->format->Gmask, 258 surface->format->Gmask,
259 surface->format->Bmask, 259 surface->format->Bmask,
260 surface->format->Amask); 260 surface->format->Amask);
261 Uint32 dst_format = 261 Uint32 dst_format =
262 SDL_MasksToPixelFormatEnum(dst->format->BitsPerPixel, 262 SDL_MasksToPixelFormatEnum(dst->format->BitsPerPixel,
263 dst->format->Rmask, dst->format->Gmask, 263 dst->format->Rmask,
264 dst->format->Gmask,
264 dst->format->Bmask, 265 dst->format->Bmask,
265 dst->format->Amask); 266 dst->format->Amask);
266 267
267 blit = 268 blit =
268 SDL_ChooseBlitFunc(src_format, dst_format, map->info.flags, 269 SDL_ChooseBlitFunc(src_format, dst_format, map->info.flags,