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 - Blit map not updated if source palette changed
Summary: Blit map not updated if source palette changed
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-12 11:08 UTC by bastien.bouclet
Modified: 2012-01-06 22:28 UTC (History)
0 users

See Also:


Attachments
Proposed fix (1.95 KB, patch)
2011-06-12 11:08 UTC, bastien.bouclet
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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