# HG changeset patch # User Sam Lantinga # Date 1227902386 0 # Node ID 5f3831f1c3ea1d6b0d0d56e234dc6e213517d378 # Parent c81150fedf6f406b12011a7843f66f9cc3e0fe14 Fixed crash in testalpha. I think this was supposed to clear those bits. :) diff -r c81150fedf6f -r 5f3831f1c3ea src/video/SDL_RLEaccel.c --- a/src/video/SDL_RLEaccel.c Fri Nov 28 17:44:28 2008 +0000 +++ b/src/video/SDL_RLEaccel.c Fri Nov 28 19:59:46 2008 +0000 @@ -1962,8 +1962,7 @@ } } 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);