PDA

View Full Version : using double buffer when using texture mapping?



02-06-2002, 12:18 AM
I would like to know if i use the double buffer(ie. glutInitDisplayMode(GLUT_DOUBLE....)

is it mean that i can't use texture mapping for the object? because I try it ,and no response from the screen, but if i use single buffer, it works?

Bob
02-06-2002, 12:51 AM
When using double buffers, you must call glutSwapBuffers in the end of your drawing function.