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

Markus Laire malaire at gmail.com
Wed Jun 6 03:34:38 PDT 2007


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

-- 
Markus Laire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.c
Type: text/x-csrc
Size: 1847 bytes
Desc: not available
Url : http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070606/b963ec3d/attachment.c 


More information about the SDL mailing list