Hi! I've made some modifications to my code and I need to blit an RGBA surface on top of another (similar to the BltFast method from E2DSurface). I've been browsing through the available methods and none of them seem to achieve what I'm looking for. I though that I might be able to:
A) Made a for loop and use the GetPixel and PutPixel methods on the source and destination surfaces', respectively (slow!).
B) Lock both surfaces and copy the buffers. I'd have to make a for loop, though, since the surfaces have a pitch and I have to take that into account.
I'm sure I'm missing something. Is there any other alternative for blitting an RGBA surface on top of another?
Thanks in advance for your reply,
--Nacho
A) Made a for loop and use the GetPixel and PutPixel methods on the source and destination surfaces', respectively (slow!).
B) Lock both surfaces and copy the buffers. I'd have to make a for loop, though, since the surfaces have a pitch and I have to take that into account.
I'm sure I'm missing something. Is there any other alternative for blitting an RGBA surface on top of another?
Thanks in advance for your reply,
--Nacho