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
|
@ -2153,7 +2153,7 @@ SDL_CalculateBlitA(SDL_Surface * surface)
|
|||
SDL_PixelFormat *sf = surface->format;
|
||||
SDL_PixelFormat *df = surface->map->dst->format;
|
||||
|
||||
switch (surface->map->info.flags) {
|
||||
switch (surface->map->info.flags & ~SDL_COPY_RLE_MASK) {
|
||||
case SDL_COPY_BLEND:
|
||||
/* Per-pixel alpha blits */
|
||||
switch (df->BytesPerPixel) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue