using opengl to rotate sdl surface...

Started by
1 comment, last by smr 18 years, 10 months ago
is it possible to use opengl to rotate and sdl surface? right now i'm using the rotozoomer, but it would be nice to be able to do this with opengl.
Advertisement
if you're using OpenGL to render instead of SDL yes, if not... I think not, though maybe you could do a render to texture and then extract the pixels back to your SDL Surface, I doubt doing all that would be reasonably fast thought.
Quote:Original post by Kwizatz
if you're using OpenGL to render instead of SDL yes, if not... I think not, though maybe you could do a render to texture and then extract the pixels back to your SDL Surface, I doubt doing all that would be reasonably fast thought.


There really isn't a good way to do it.

This topic is closed to new replies.

Advertisement