Commit 0c8e33764c5ee1250eae94e1f93c7262398e20dd

Sam Lantinga 2014-07-07T21:21:05

Fixed bug 2628 - invalidate surface->map in SDL_SurfacePalette() Wei Mingzhi surface->map should be invalidated in SDL_SetSurfacePalette(), otherwise the palette would not be effective when blitting to another non-8bit surface which we previously blitted to.