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 2125

Summary: SDL_DirectFB_render.c, DirectFB_GetTexturePalette, wrong member in structure referenced
Product: SDL Reporter: Måns Gotare <pipetonull>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: blocker    
Priority: P2    
Version: HG 2.0   
Hardware: x86_64   
OS: Linux   
Attachments: Change .unused to .a

Description Måns Gotare 2013-10-01 07:54:33 UTC
Created attachment 1349 [details]
Change .unused to .a

SDL_DirectFB_render.c in function DirectFB_GetTexturePalette, line 677, is refering to colors[i].unused instead of colors[i].a. Fix attached.
Comment 1 Sam Lantinga 2013-10-03 08:14:24 UTC
This has been fixed in the latest snapshot:
http://hg.libsdl.org/SDL/rev/2f679aa69aea

Thanks!