On Mon, 28 Jul 2008 23:13:28 -0700, Justin Heyes-Jones  
<[EMAIL PROTECTED]> wrote:

> I'm not that familiar with sdl-image at all. But the sdl docs mention
> something about the setcolorkey arg matching the image format. And
> there's a function in order to map an RGB color to a UINT RGB value
> for you. So you may need to load the image, call this function on your
> color key to get the actual color key you set...

I think that is correct. The code will first convert the surface to the  
display format and then set the color key for this reason.

- Luke
_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to