Advertisement

BitBlt into back buffer?

Started by February 07, 2000 12:28 PM
1 comment, last by Someone 24 years, 10 months ago
Hi! I''m wondering how do I set the BitBlt to draw on the back buffer of my window? I''ve already set the pixel format to support double buffering, and it works when I use OpenGL codes with it, but I can''t seem to BitBlt into the back buffer. Is there a way to make the BitBlt act on the back buffer without using DirectX or OpenGL''s glDrawPixels?
If you are referring to the GDI BitBlt function, then you have to call FlipToGDISurface() on the surface you want to blit to first. Look in the SDK for the exact syntax.

------------------------------
Jonathan Little
invader@hushmail.com
http://www.crosswinds.net/~uselessknowledge
Advertisement
Hmm... that involves DirectDraw. I was wondering if it''s possible without using DirectDraw or DirectX...

This topic is closed to new replies.

Advertisement