glFlush ran right after OpenGL initialization = background RGB (115,178,181). Why?


So I run glFlush in a single buffer mode after init and get this background color.

Does it mean that upon intialization OpenGL clears the rendering context to this color?


Have to add - the WinClass background set to NULL

I think the assumption that OpenGL clears the rendering context is false. If you put in a clear before calling glFlush will the color probably be different.

If you really want the answer should it be in the documentation but I dont see how this can be important. Just clear the context to any color you want.

Yep, I agree it’s little importance, but anyway. Just interesting.