Vuen
Feb 4th, 2001, 08:52 PM
Ok. Here's what I have. I have a 24-bit primary surface, a 24-bit backbuffer, and an 8-bit plain offscreen surface with my sprites on it. What I need to know is how to blit from the 8-bit offscreen surface to the backbuffer. I don't think .Blt would work because I read that .Blt will not blit between pixel formats, it only copies bit for bit exactly whats there. So I read somewhere that to blit between surfaces with different pixel formats you need to use the windows GDI to do it instead of DirectDraw itself. So I was thinking maybe making a DC for both surfaces, using the BitBlt api, and then releasing the DCs, but wouldn't BitBlt do the same thing as .Blt? So how do I blit?