When glutSolidSphere and glutSolidTeapot are rendered under a light, using two-sided lighting model,
e.g.: glLightModelf(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE),
then one of them is not rendered properly depending on glFrontFace setting.

Such that:
If glFrontFace(GL_CCW) is set the Sphere is OK,
If glFrontFace(GL_CW) is set then the Teapot is OK.

Well, you can call glFrontFace with proper parameter (CCW or CW) before each object, however think of an external model which you don't have control over the orientation of polygon vertices.

Is there a general setting that we can render both as desired?
Else, can we say this is a bug/limitation of OpenGL?

Below is a sample to reproduce this:
(modified from the distributed sample code TEA.C)
__________________________________________________ ___________