View Full Version : resetting the color

11-15-2001, 10:58 AM
My openGL window draws a map correctly until the window has to be redrawn. Then everything has a yellow shade to it. (all the area that should be white is now yellow). I call glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ) in my PostRenderScene() function. The clear color is set to .27, .32, .25, 1. What should the clear color be set to and where should I reset it? If I set it to 0.0, 0.0, 0.0 I get a black window.

Does anyone know why my window is yellow?

11-15-2001, 11:08 AM
Got the answer. Reset the color to white. Thanks.