Fix vertex_format macro not working in modules
Merge pull request #178 from tomaka/fix-176

Fix vertex_format macro not working in modules