You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: 2.0.3 Reported for operating system, platform: Linux, x86
Comments on the original bug report:
On 2015-05-17 17:09:41 +0000, Dávid Nagy wrote:
Created attachment 2155
Testcase
When using SDL_FillRect on a 24-bit surface, the Red and Blue components of the fill color are swapped.
16-bit and 32-bit surfaces don't have this problem.
The testcase should make a testcase_out.bmp filled with orange (255,192,128), but it becomes blue (128,192,255).
On 2015-05-17 17:25:06 +0000, Dávid Nagy wrote:
Created attachment 2156
My proposed fix.
Apply to SDL2-2.0.3/src/video/SDL_fillrect.c
Disclaimer: Although I separated the two cases of endianness, I tested it only on a little-endian system.
On 2015-05-31 15:38:41 +0000, Ryan C. Gordon wrote:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 2.0.3
Reported for operating system, platform: Linux, x86
Comments on the original bug report:
On 2015-05-17 17:09:41 +0000, Dávid Nagy wrote:
On 2015-05-17 17:25:06 +0000, Dávid Nagy wrote:
On 2015-05-31 15:38:41 +0000, Ryan C. Gordon wrote:
The text was updated successfully, but these errors were encountered: