mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Fixed 02-metaballs.
This commit is contained in:
parent
bf9ed535fc
commit
9970637bb4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue