2004-04-20, 13:09
looking at the code that is in cvs at the minute it looks like you are creating a vertexbuffer during every render call but are only releasing it in the start and stop functions.
you probably don't want to be creating a vertex buffer every frame and memcpying your data into it anyway. either create the vertexbuffer once at the start and write you data directly into or use drawprimitiveup.
you probably don't want to be creating a vertex buffer every frame and memcpying your data into it anyway. either create the vertexbuffer once at the start and write you data directly into or use drawprimitiveup.