|
-
Feb 4th, 2001, 09:52 PM
#1
Thread Starter
Lively Member
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|