Fixed crash in testalpha. I think this was supposed to clear those bits. :)
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403259
This commit is contained in:
parent
843bc58619
commit
3446f888c5
1 changed files with 1 additions and 2 deletions
|
@ -1962,8 +1962,7 @@ SDL_UnRLESurface(SDL_Surface * surface, int recode)
|
|||
}
|
||||
}
|
||||
surface->map->info.flags &=
|
||||
(SDL_COPY_RLE_COLORKEY | SDL_COPY_RLE_ALPHAKEY);
|
||||
surface->map->info.flags |= SDL_COPY_RLE_DESIRED;
|
||||
~(SDL_COPY_RLE_COLORKEY | SDL_COPY_RLE_ALPHAKEY);
|
||||
|
||||
if (surface->map->data) {
|
||||
SDL_free(surface->map->data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue