This was SVN commit r8884.
Disable shadows when only 2 TMUs available. Clean up some other rendering code. This was SVN commit r8882.