Page 1 of 1

SDL2_image

Posted: Tue Mar 12, 2024 8:22 pm
by HudsonBr
Hello,

I noticed there are portlibs of SDL2 for GameCube, but SDL2_image is missing. Is it supposed to be like this? Is it compatible to use SDL_image to load textures?

Thanks in advance.

Re: SDL2_image

Posted: Fri Sep 06, 2024 6:20 pm
by WinterMute

Sorry to have missed seeing this post earlier. I'm not sure but I suspect you may have checked packages while we've been working on SDL2, there's a gamecube-sdl2_image package now.

You can't load textures directly with this library, they'd have to be converted. Personally I would recommend converting textures at compile time instead for memory and performance reasons.


Re: SDL2_image

Posted: Wed Nov 06, 2024 10:57 pm
by HudsonBr

Hey, thanks for the tip.
Do you have an example?

thanks in advance.