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 1225 - Altivec blitters broken due to SDL_PixelFormat
Summary: Altivec blitters broken due to SDL_PixelFormat
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: PowerPC All
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-13 05:50 UTC by bastien.bouclet
Modified: 2012-01-06 22:26 UTC (History)
0 users

See Also:


Attachments
Proposed fix (841 bytes, patch)
2011-06-13 05:50 UTC, bastien.bouclet
Details | Diff
Proposed fix #2 (1.52 KB, patch)
2011-07-02 03:45 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-13 05:50:58 UTC
Created attachment 624 [details]
Proposed fix

Static pixel format initialization has not been updated to reflect header changes in SDL_blit_N.c

The attached patch fixes Altivec support for me. altivec.h is needed for some systems.
Comment 1 bastien.bouclet 2011-07-02 03:45:06 UTC
Created attachment 641 [details]
Proposed fix #2

The newer attached file also fixes alpha blits.
Comment 2 Sam Lantinga 2012-01-06 22:26:17 UTC
This is fixed, thanks!
http://hg.libsdl.org/SDL/rev/b7347e716ab6