[SDL] BUG?: RGBA->screen blit has 1-off error with opaque colors

Markus Laire malaire at gmail.com
Wed Jun 6 05:34:33 PDT 2007


On 6/6/07, Markus Laire <malaire at gmail.com> wrote:
> The attached program should print "First pixel: 00FFFFFF" but instead
> of that I get "First pixel: 00FEFEFE"
>
> Am I right in thinking that this is a bug in SDL?
>
> OS is Linux (Knoppix 4.0.2)
> SDL version is 1.2.11

The attached file had small error: The SDL_SetAlpha-call should be
commented to get the error.

-- 
Markus Laire


More information about the SDL mailing list