Fixed picking blit function when RLE fails

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403314
This commit is contained in:
Sam Lantinga 2008-12-07 22:37:40 +00:00
parent b47ba57912
commit cc01f2a867
6 changed files with 6 additions and 5 deletions

View file

@ -2430,7 +2430,7 @@ SDL_CalculateBlitN(SDL_Surface * surface)
return (NULL);
}
switch (surface->map->info.flags) {
switch (surface->map->info.flags & ~SDL_COPY_RLE_MASK) {
case 0:
blitfun = NULL;
if (dstfmt->BitsPerPixel == 8) {