[SDL] aalineRGBA problem

Armin Steinhoff A-Steinhoff at web.de
Mon Jun 12 08:04:54 PDT 2006


Hello,

I have a little bit trouble with the call  'aalineRGBA' from the SDL_Gfx library. 
When I create  a surface with a bpp of 32bit, 'aalineRGBA' draws only vertical and horizontal lines (ticks of a meter).
Only the start and end point of all other lines are drawn. 

On a surface with 8 bpp all lines are drawn, but the color is wrong.

I have attached a short example. What's wrong in my code?  ( I'm working under SuSE LINUX 9.0. )

Thank you

Armin

______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!		
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ex1.c
Type: text/x-csrc
Size: 2258 bytes
Desc: not available
Url : http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060612/87d1f0c5/attachment.c 


More information about the SDL mailing list