| Clearing the bitplanes: glClearColor(0.0, 0.0, 0.0, 0.0);
glClearDepth(1.0);
 glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
 
Table 2-1
Other bitplanes ara available to address with glClear()  Question:  Why is the clear
command glClearColor() instead of glClearColor4f()?
glClear() is generally an optimized routine - use it! 
(avoid the "roll your own" mentality
 |