Jump to content
  • Advertisement

Archived

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

SuperDuck

How do I use Single Buffering?

This topic is 5210 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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!