Archived

This topic is now archived and is closed to further replies.

vaneger

SDL bitmap / SDL_Surface resizing

Recommended Posts

i am using sdl to make a GUI for my tools and a game that ill code with those tools, but i currently would like to know how to make SDL_Surfaces resize in a scalable manner aside from having to read every pixel in and then make a new surface proprtional to that one pixel by pixel. is there any way to do this?

Share this post


Link to post
Share on other sites
IIRC, there''s no good way to do this in SDL without using, for example, GL. However, I believe that one or two of the libraries listed on the SDL website provide image/surface scaling routines.

Share this post


Link to post
Share on other sites