mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fixed 02-metaballs.
This commit is contained in:
@@ -703,7 +703,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
||||
bgfx::setProgram(program);
|
||||
|
||||
// Set vertex and index buffer.
|
||||
bgfx::setVertexBuffer(&tvb, numVertices);
|
||||
bgfx::setVertexBuffer(&tvb, 0, numVertices);
|
||||
|
||||
// Submit primitive for rendering to view 0.
|
||||
bgfx::submit(0);
|
||||
|
||||
Reference in New Issue
Block a user