pombreda / pgreloaded

Automatically exported from code.google.com/p/pgreloaded
Other
0 stars 0 forks source link

Inability to create pixels_alpha in certain cases. #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Trying to create pixels_alpha:
1. From ARGB lil-endian surface.
2. From RGBA big-endian surface.

What is the expected output? What do you see instead?
Unfortunately, it's rare case (common case is RGBA lil-endian), but it's 
obvious from source code that instead of properly working, this should raise an 
erroneous ValueError ("unsupported colormasks for alpha reference array"). 
Rather bad, I guess.

What version of the product are you using? On what operating system?
pygame2 SDL12 branch, 26:8196387fc5b5 changeset on Debian Wheezy with 
Linux 3.2.0-2-amd64 #1 SMP.

Please provide any additional information below.

Original issue reported on code.google.com by alex0pla...@gmail.com on 27 May 2012 at 10:31

GoogleCodeExporter commented 9 years ago
Problem remains in 29:c3ca743de87c.

Original comment by alex0pla...@gmail.com on 27 May 2012 at 4:27

GoogleCodeExporter commented 9 years ago

Original comment by marcusvonappen@googlemail.com on 27 Jun 2012 at 5:47