[SDL] color key broken in glSDL?
David Olofson
david at olofson.net
Fri Oct 13 06:47:13 PDT 2006
On Friday 13 October 2006 14:49, James Gregory wrote:
[...]
> The game runs in RGBA, the image I was loading just happened to not
> have an alpha channel.
That is, you're using alpha blending with RGBA normally, but you want
colorkeying for this particular surface, becaues it doesn't have an
alpha channel?
Proper solution:
Don't use RGBA surfaces when dealing with colorkeying.
Easy way out:
Fire up GIMP, PhotoShop or whatever and convert the
offending image(s) to RGBA format.
//David Olofson - Programmer, Composer, Open Source Advocate
.------- http://olofson.net - Games, SDL examples -------.
| http://zeespace.net - 2.5D rendering engine |
| http://audiality.org - Music/audio engine |
| http://eel.olofson.net - Real time scripting |
'-- http://www.reologica.se - Rheology instrumentation --'
More information about the SDL
mailing list