I quickly looked at your code and can't see any init() function from where you call FeedVertexBuffer() function to create VB. Therefore you cant see you terrain on screen and your program crashes as you're reading some garbage data. (your pointer isnt pointing anywhere).
I hope this helps.
[edited by - robert_s on June 21, 2003 11:31:19 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement