Zhang Yan
10-22-2001, 04:08 AM
I am really a beginner.
I made a simple "Racing" program in opengl.
I indeed wanted to use double buffer and copy all the part for double buffer from book, but it acted as single buffer, flickered all the time. I do not know where
I was wrong. Please help me.
I indeed write "glutInitDisplayMode(...| GL_DOUBLE)" and "glutSwapBuffers()" in the display callback function.
If you could take the trouble to go to my homepage: "http://ihome.ust.hk/~cszy" to see the program, I will be very grateful.
Thank you very much!
I made a simple "Racing" program in opengl.
I indeed wanted to use double buffer and copy all the part for double buffer from book, but it acted as single buffer, flickered all the time. I do not know where
I was wrong. Please help me.
I indeed write "glutInitDisplayMode(...| GL_DOUBLE)" and "glutSwapBuffers()" in the display callback function.
If you could take the trouble to go to my homepage: "http://ihome.ust.hk/~cszy" to see the program, I will be very grateful.
Thank you very much!