Disable vertex cache option if hw transform is disabled
Merge pull request #4991 from ufdada/master

Also disable vertex cache option if hw transform is disabled