glFrustrum should be performed in projection mode, otherwise the modelview matrix has projection elements and the lighting and 3d clipping planes of unity and other compiz plugins that load this modelview matrix are buggy. Approved by: Stephen M. Webb, PS Jenkins bot