does not suffice on my windows machine when Microsoft GDI renderer selected. glGetError() returns GL_INVALID_OPERATION error in an infinite loop.

I tried to find what could be the cause of the problem, but haven't found anything interesting. GL Context seems to be current and gl instance initialized. Also there are no glBegin() and glEnd() commands surrounding glReadBuffer(GL_FRONT) or glGetError().

I am not sure about Microsoft GDI implementation (and other implementations), but I think front buffer should always exist, no matter whether it is single- or double-buffering engine.

Any help or idea would be much appreciated.

Thanks in advance,