update: make vertex array setup more modular.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
Merge branch 'master' of https://github.com/kimkulling/zfxce2