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 - SDL_DirectFB_render.c, DirectFB_GetTexturePalette, wrong member in structure referenced
Summary: SDL_DirectFB_render.c, DirectFB_GetTexturePalette, wrong member in structure ...
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86_64 Linux
: P2 blocker
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-01 07:54 UTC by Måns Gotare
Modified: 2013-10-03 08:14 UTC (History)
0 users

See Also:


Attachments
Change .unused to .a (500 bytes, patch)
2013-10-01 07:54 UTC, Måns Gotare
Details | Diff

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