BitBlt into back buffer?
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
------------------------------
Jonathan Little
invader@hushmail.com
http://www.crosswinds.net/~uselessknowledge
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement