Real beginner OpenGL question

Hello, I have a real simple OpenGL program in 2D, completely static. What i wanted to know is when i have objects on the screen and i use a right mouse button menu, after i release the menu the whole screen disappears how can i make this not happen?

I think you should refrsh your window, or at least the portion “deleted” by the menus.

Wich OS are u using ?


I am using linux