Jump to content
  • Advertisement
Sign in to follow this  
harnacks

Double Buffering and Window Styles.

This topic is 4811 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

I understand I think the basics of drawing to a buffer. The idea is I draw to the back buffer glDrawBuffer(GL_BACK) and then call SwapBuffers(hDC) where hDC is a pointer to the device context. I don't want to use the Glut in this app. My problem is that the program appears sluggish, not smooth as DB should be. I tried putting glFlush() after it to speed things but, but no luck. I'm missing something I'm sure, I don't know what though. Also when I create a window, what window style (WS_MAXIMIZE etc) creates a window with no borders at all ?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!