Switch over to using the new VertexBuffer type and passing the material into it's draw method rather than setting it all outside of it.
Remove the assertion of an non-existant variable!
Merge remote-tracking branch 'fluffyfreak/terrainVB'