Cet*_*tra 6

使用glClear.

glClearColor(0.0,0.0,0.0);
glClear(GL_COLOR_BUFFER_BIT);
SwapBuffers();
Run Code Online (Sandbox Code Playgroud)