dockthepod
Member
- Joined
- Jun 15, 2006
- Messages
- 250
I'm looking at SDL 1.3 trying to figure out how to do scaling/rotation of sprites. Is it only available if using the GL interface? I don't see this ability in surface or texture interfaces.
Cpasjuste said:Scaling is available when using the GL interface, but should be available also on the software one. Just use "SDL_RenderCopy( texture->texID, &srcRect, &dstRect );" and set your "dstRect" to your desired scaled size.
Else, there is no rotation function in SDL.
