I found it :)
Its a bug in the way you are allocating and locking the Index Buffer.
I am trying to figure out exactly what it should say but thought I would share what I found.
Reason sometimes it works sometimes it does depends on logic that resizes the index and vertex buffers.
Doug
Its a bug in the way you are allocating and locking the Index Buffer.
I am trying to figure out exactly what it should say but thought I would share what I found.
Reason sometimes it works sometimes it does depends on logic that resizes the index and vertex buffers.
Doug