[SDL] SDL stretching surfaces
drevil at warpcore.org
Wed Sep 25 11:45:07 PDT 2002
On Wed, 2002-09-25 at 13:27, DrEvil wrote:
> On Wed, 2002-09-25 at 10:42, Vasileiou Nikolaos wrote:
> > Hi,
> > Is there any way to stretch (resize) an SDL Surface?
> > It is quite usefull for making a surface combatible for usage as an
> > openGL texture which is not power of two.
> Some texture resampling code for resampling -- BSD license:
My that was redundantly redundant. Anyway, you can adapt the code I
mentioned to resize the texture with very little loss if you use it the
same way I do in the code I linked...
More information about the SDL