I Finally solved what the error was. I just had to stop using the value
UINT numVertices = sizeof(vertices) / sizeof(VertexPosColorTexStruct);
when i was creating the mesh. Thx everyone.
Dynamic Array Decleration using custom vertex structure
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement