Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed crash in testalpha. I think this was supposed to clear those bi…

…ts. :)
  • Loading branch information
slouken committed Nov 28, 2008
1 parent 1cdc4d5 commit aaa9ed5dbc4f7663ddefdbfbb8d3ec22d7f158b2
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/video/SDL_RLEaccel.c
@@ -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);

0 comments on commit aaa9ed5

Please sign in to comment.