Buildfix

Looks like gstate.isSkinningEnabled() has been changed to vertTypeIsSkinningEnabled(gstate.vertType)