Fixed 02-metaballs.

This commit is contained in:
Branimir Karadžić 2014-05-01 10:09:47 -07:00
parent bf9ed535fc
commit 9970637bb4

View file

@ -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);