SDL2_image

Post Reply
User avatar
HudsonBr
Posts: 29
Joined: Wed May 05, 2021 8:15 pm

SDL2_image

Post by HudsonBr » Tue Mar 12, 2024 8:22 pm

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.
..::Game Developer::..

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: SDL2_image

Post by WinterMute » Fri Sep 06, 2024 6:20 pm

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.

Help keep devkitPro toolchains free, Donate today

Personal Blog

User avatar
HudsonBr
Posts: 29
Joined: Wed May 05, 2021 8:15 pm

Re: SDL2_image

Post by HudsonBr » Wed Nov 06, 2024 10:57 pm

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

thanks in advance.

..::Game Developer::..

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests