implement default matrix mode of GL_MODELVIEW