Advertisement Jump to content
Sign in to follow this  

Double Buffering and Window Styles.

This topic is 4972 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
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!