I need some clarification about how glMultMatrixd works.

Suppose I have two matrices: I extracted the first 3x3 portion. It gives the rotation part of the matrix. Isn’t it?

Now I have extracted two rotation matrices matrot1 and matrot2 respectively.

If I use the following glMultMatrixd two times :

glMultMatrixd(matrot1);

glMultMatrixd(matrot2);

Does the result gives the matrix which combines the rotation of both matrices?

Any clarification will be highly appreciated.