glutInitDisplayMode SINGLE vs. DOUBLE

Started by
2 comments, last by masterball 13 years, 1 month ago
On setting glutInitDisplayMode(GLUT_SINGLE), I am able to see stuff that I have rendered, but when switching to glutInitDisplayMode(GLUT_DOUBLE), my window is blank.

Is there a step I'm missing when switching to double?
Advertisement
Hi! There may be some other problems. I think you copy more code here so I can help you.

On setting glutInitDisplayMode(GLUT_SINGLE), I am able to see stuff that I have rendered, but when switching to glutInitDisplayMode(GLUT_DOUBLE), my window is blank.

Is there a step I'm missing when switching to double?

Are you swapping the buffers?

Are you swapping the buffers?


no, this fixed it, thanks!

This topic is closed to new replies.

Advertisement