+6  A: 

Using glClear.

glClearColor(0.0,0.0,0.0);
glClear(GL_COLOR_BUFFER_BIT);
SwapBuffers();
Cetra