Exposed vertex stream argument to API.

This commit is contained in:
Branimir Karadžić
2017-05-14 11:48:59 -07:00
parent 52c28fa531
commit 68c6b46a65
36 changed files with 146 additions and 161 deletions

View File

@@ -425,7 +425,7 @@ int _main_(int _argc, char** _argv)
bgfx::setTransform(mtx);
// Set vertex and index buffer.
bgfx::setVertexBuffer(vbh);
bgfx::setVertexBuffer(0, vbh);
bgfx::setIndexBuffer(ibh);
// Set render states.