Archived

This topic is now archived and is closed to further replies.

How do I use Single Buffering?

This topic is 5016 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, In the NeHe tutorials he has used double buffering. How do I use single buffering instead? And what changes should I make to accomodate this? Like SwapBuffers would go I guess....what else?

Share this post


Link to post
Share on other sites
Just don''t set the PFD_DOUBLEBUFFER flag in pfd.dwFlags.
In my experience the SwapBuffers() call is still needed, but maybe I was doing something wrong.

Share this post


Link to post
Share on other sites

I did that, but its not drawing anything on the screen, not even setting the background color. btw I''m using full screen mode. There should be something else I''d have to change wont there?

Share this post


Link to post
Share on other sites