Fixed picking blit function when RLE fails
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403314
This commit is contained in:
parent
b47ba57912
commit
cc01f2a867
6 changed files with 6 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue