Author :
Sam Lantinga
Date :
2014-07-07 21:21:05
Hash :0c8e3376 Message :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.