bugfix: avoid redundant creations of vertex declarations.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>