Alex.
Retired
- Joined
- Aug 24, 2005
- Messages
- 4,616
I recently started playing with SDL, and came upon a problem: I want to allocate a screen larger than the GP2X's physical screen, say 340*260 (a 10px border around real screen). Then, I'd like to copy it starting from 10,10 to 329,249. I thought that would be useful for quickly clipping sprites not 100% on screen.
Unfortunately I have no idea how to implement it. I'm used to doing this with a void* buffer then memcpy, but SDL is like a new world
Thank you for any help and advice!
- Alex
Unfortunately I have no idea how to implement it. I'm used to doing this with a void* buffer then memcpy, but SDL is like a new world
Thank you for any help and advice!
- Alex