Commit 966af920 authored by Sam Lantinga's avatar Sam Lantinga

Fixed copy blit detection

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403262
parent 9c7eee3f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment