Preserve the desire for RLE acceleration
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403266
This commit is contained in:
parent
c81d1708ba
commit
b64cf8229c
1 changed files with 1 additions and 2 deletions
|
@ -228,9 +228,8 @@ SDL_CalculateBlit(SDL_Surface * surface)
|
||||||
map->info.dst_pitch = dst->pitch;
|
map->info.dst_pitch = dst->pitch;
|
||||||
|
|
||||||
/* See if we can do RLE acceleration */
|
/* See if we can do RLE acceleration */
|
||||||
if (surface->map->info.flags & SDL_COPY_RLE_DESIRED) {
|
if (map->info.flags & SDL_COPY_RLE_DESIRED) {
|
||||||
if (SDL_RLESurface(surface) == 0) {
|
if (SDL_RLESurface(surface) == 0) {
|
||||||
surface->map->info.flags &= ~SDL_COPY_RLE_DESIRED;
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue