Exchanged fixed-function style system with the old-fashioned style primitive tree