This repository has been archived by the owner. It is now read-only.
Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug 1923 - Crash with SDL_SetColorKey
Sylvain 1/ Load an Image XPM with IMG_ReadXPMFromArray() 2/ Try to set a ColorKey on it. I notice that : - the SDL_Surface that is created from XPM has a palette ! - the colorkey is a RBG. it crashes (SIGSEGV) inside the SDL_SetColorKey function: "surface->format->palette->colors[surface->map->info.colorkey].a"
- Loading branch information