how do i clear the window?
i know in books they said glclearcolor and glclear(..|..|..)
this is the problem, i'm making menus like 'new game', 'option', 'quit', etc. that one works just fine.
when i press 'option', i want to have a new clear window again, so i can make a different menus like 'texture mapping', 'shading', etc, and the 'back' option so i can go back to the main menu.
Thanks in advance, really appreciate it
Re: clear window
glClear() is used to clear one or more of the OpenGL buffers, I assume that you are using glut or some other library here, the menus in glut has nothing to do with OpenGL so you have to look into the glut documentation to find out how to change the menus.