[SDL] Loading alpha-channeled PNGs?
DARKGuy .
dark.guy.2008 at gmail.com
Wed Sep 13 00:18:10 PDT 2006
YAY!!!!!
IT WORKED!!!!!! :D :D :D ^__^ *is so happy xD*
Like, thanksthanksthanksthanksthanksthanksthanksthanksthanksthanks you all!
:D ^^!!!!
On 9/13/06, Jukka-Pekka Manninen <jmanninen at digitalchocolate.com> wrote:
>
> Hi!
>
>
>
> I think you might be losing your alpha channel here:
>
>
>
> mAnim[0].image = SDL_DisplayFormat(temp); SDL_FreeSurface(temp);
>
> Try using SDL_DisplayFormatAlpha(temp).
>
>
>
> --
> *Jukka-Pekka Manninen
>
> *
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060913/3e685ea0/attachment.htm
More information about the SDL
mailing list