More vertex semantic adjustments

This commit is contained in:
Jack Andersen
2015-11-25 14:22:05 -10:00
parent 3bcfa99b5a
commit 6c83991e2a
4 changed files with 40 additions and 6 deletions

View File

@@ -256,8 +256,8 @@ struct TestApplicationCallback : IApplicationCallback
/* Make vertex format */
VertexElementDescriptor descs[2] =
{
{vbo, nullptr, VertexSemantic::Position},
{vbo, nullptr, VertexSemantic::UV}
{vbo, nullptr, VertexSemantic::Position3},
{vbo, nullptr, VertexSemantic::UV2}
};
IVertexFormat* vfmt = factory->newVertexFormat(2, descs);