A question with Gimbal Lock

There has always been a problem with the Gimbal Lock using the glRotate function of opengl.Incidentally, I found that glRotate has not generated a Gimbal Lock in the texture model.
I don’t know why. I hope someone can help me answer this question.

Gimbal lock affects Euler angles (yaw, pitch, roll); it doesn’t affect the axis-and-angle representation used by glRotate.

What’s the question?

So, you’ll see problems with accumulated transforms that come from (yaw, pitch, roll) coordinates. Check out quaterions for some alternative descriptions and mechanisms for gimbal-lock free rotations.

It will appear in model mode, but not in texture mode.I wonder why they are different.