Главная страница | назад

Article #20618: double buffer problems in opengl

Question: Why won't my OpenGL program work in double buffered mode? It works fine in single buffered mode.

Answer: When you are using double buffered mode, you have to explicitly tell the computer to swap the buffers, otherwise it will never post any of the buffers that it renders. The command to force it to post the double buffered display is SwapBuffers(); This should be put into your main display loop.

Last Modified: 17-FEB-00