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 607 - Texture palette not updated in SDL_compat.c (Patch attached)
Summary: Texture palette not updated in SDL_compat.c (Patch attached)
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-29 16:41 UTC by couriersud
Modified: 2009-01-02 22:15 UTC (History)
1 user (show)

See Also:


Attachments
Solve issue (692 bytes, patch)
2008-07-29 16:42 UTC, couriersud
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description couriersud 2008-07-29 16:41:32 UTC
SDL_VideoPaletteChanged will not update texture palettes under certain conditions. 

The attached patch corrects the behaviour.
Comment 1 couriersud 2008-07-29 16:42:00 UTC
Created attachment 262 [details]
Solve issue
Comment 2 Sam Lantinga 2008-11-25 12:09:16 UTC
Thank you very much for your patch for SDL 1.3!

Do you give me permission to release your code with SDL 1.3 and future
versions of SDL under both the LGPL and a closed-source commercial    
license?