Jump to content
  • Advertisement

Archived

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

Meesa

Flickering on double buffer

This topic is 5353 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 am learning OpenGL at the moment. I tried to create a sphere circling on an orbit. I develop the program in Visual C++ environment. I created the window not through Win32 API, but using OpenGL command : glutCreateWindow(...) I have enabled the double buffer as follow: glutInitDisplayMode(GLUT_RGB|GLUT_DOUBLE|GLUT_DEPTH); glClearColor(0.0,0.0,0.0,1.0); glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT); And on display callback I have used : glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT); glLoadIdentity(); MyDrawBall(); MyUpdateBall(); glutSwapBuffers(); Many thx in advanced [edited by - Meesa on January 25, 2004 5:32:26 AM]

Share this post


Link to post
Share on other sites
Advertisement
I am using GeForce3 Ti200 and XP1600, 2 yrs old computer. No money to upgrade to GeForceFx5800 Is it possible that creating windows not using windowAPI can cause the flicker?

[edited by - Meesa on January 25, 2004 5:34:12 AM]

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.

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!