mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Exposed vertex stream argument to API.
This commit is contained in:
@@ -726,7 +726,7 @@ class ExampleMetaballs : public entry::AppI
|
||||
bgfx::setTransform(mtx);
|
||||
|
||||
// Set vertex and index buffer.
|
||||
bgfx::setVertexBuffer(&tvb, 0, numVertices);
|
||||
bgfx::setVertexBuffer(0, &tvb, 0, numVertices);
|
||||
|
||||
// Set render states.
|
||||
bgfx::setState(BGFX_STATE_DEFAULT);
|
||||
|
||||
Reference in New Issue
Block a user