[SDL] png transparency in testgl.c from sdl package

Justin Coleman jmcoleman at gmail.com
Mon Dec 13 04:01:24 PST 2010


Maybe you should remove that line entirely.

On Sun, Dec 12, 2010 at 10:13 PM, image28 <image28 at slingshot.co.nz> wrote:
> changing the line glColor4ub(0,0,0,255); to glColor4ub(0,0,0,128); makes all
> images 50% transparent. for some reason it is using the colour setting from
> that line instead of the individual pixels colour in the texture.
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>



More information about the SDL mailing list