Back to basics again!
How to clean matrix stacks?
I mean glLoadMatrix, glLoadIdentity will just replace the current
Matrix - the matrix at the top of the stack. glPopMatrix() will
pop out just the matrix at the top - not the whole stack
Only way I can think of is calling glPopMatrix again and again
till one gets an error flag set. Is there ne simpler/cleaner way?