| Summary: | SDL_UpperBlit swaps Red and Blue componensts for a * 24-bit to 32-bit surface blit | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Lenard Lindstrom <len-l> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.2 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | Blit a 24-bit surface to a 32-bit target surface using SDL_UpperBlit | ||
This is fixed in 2.0.4 RC2, thanks for the great test program! |
Created attachment 2206 [details] Blit a 24-bit surface to a 32-bit target surface using SDL_UpperBlit When blitting a 24-bit source surface with default format (GBR888 on test system) to a 32-bit target surface (with not per-pixel alpha in the test case) the Red and Blue components of the source pixels are swapped when copied to the target surface. See the attached example program.