Advertisement

I just CANT get rid of the texture flickering, help

Started by July 23, 2002 02:39 PM
2 comments, last by R3alTiMe 22 years, 7 months ago
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
try mipmapping
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]
Thanks it worked alimonster

This topic is closed to new replies.

Advertisement