Jump to content
  • Advertisement

Archived

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

R3alTiMe

I just CANT get rid of the texture flickering, help

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

Im using glut, im loading a bmp onto a texture and load it up. When im moving it, it sort of flickers. Im using glutSwapBuffers but it still flickers :/. Heres the code: http://members.lycos.co.uk/r3altime/Project.zip its very small. Appriciate your help. Thanks

Share this post


Link to post
Share on other sites
Advertisement
Find and replace:

glutInitDisplayMode(GLUT_RGB);

with

glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);

[edited by - Alimonster on July 23, 2002 3:45:13 PM]

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!