Advertisement

Refresh Problem

Started by March 20, 2001 08:06 AM
0 comments, last by suresh kannan 23 years, 8 months ago
Hi, I used outline fonts to display text at various locations. for example "Text1" at location (30,30) "Text2" at location (60,60) and i am using glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); option. It took some time to clear the color buffer. So it is looking like flicker on the screen. How i can avoid it?. If i removed the GL_COLOR_BUFFER_BIT it is working fine. But when i am displaying text "text3" at location (30,30), the "text3" is superimposed on the text "text1". Thanks, Kannan
You may have to use double buffering to avoid this.

This topic is closed to new replies.

Advertisement