Archived

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

SuperDuck

How do I use Single Buffering?

Recommended Posts

SuperDuck    122
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
fractoid    703
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
SuperDuck    122

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