Fixed copy blit detection
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403262
This commit is contained in:
parent
9c7eee3fc0
commit
966af920a2
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ SDL_CalculateBlit(SDL_Surface * surface)
|
|||
}
|
||||
|
||||
/* Choose a standard blit function */
|
||||
if (map->identity && !map->info.flags) {
|
||||
if (map->identity && !(map->info.flags & ~SDL_COPY_RLE_DESIRED)) {
|
||||
/* Handle overlapping blits on the same surface */
|
||||
if (surface == dst) {
|
||||
blit = SDL_BlitCopyOverlap;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue