hello all,
i have the challenge to stretch/squish an arbitrary size image to a square power-of-two size image to be used as a GL_TEXTURE_2D target. (i cannot use TEX_RECTANGLE).
what is the best procedure to resize the original image on-the-fly using OpenGL calls?
the OpelGL-Superbible states that i could use glPixelZoom() with glTexImage2D() but that does not seem to have any effect at all.
kind regards,
uwe