We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1224

Summary: Blit map not updated if source palette changed
Product: SDL Reporter: bastien.bouclet
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: All   
Attachments: Proposed fix

Description bastien.bouclet 2011-06-12 11:08:58 UTC
Created attachment 623 [details]
Proposed fix

SDL_LowerBlit doesn't update the blit color map if the source surface has changed.

A proposed fix is attached, storing the source palette version in the color map.
Comment 1 Sam Lantinga 2012-01-06 22:28:33 UTC
This patch looks good, thanks!
http://hg.libsdl.org/SDL/rev/0bc1f6da9c74