Jump to content
  • Advertisement

Archived

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

Meesa

Flickering on double buffer

This topic is 5433 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.

GameDev.net 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!