From 9970637bb40171ea7dda4d98a5d490415fc967db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 1 May 2014 10:09:47 -0700 Subject: [PATCH] Fixed 02-metaballs. --- examples/02-metaballs/metaballs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/02-metaballs/metaballs.cpp b/examples/02-metaballs/metaballs.cpp index 6a9cccc8..aab05ac1 100644 --- a/examples/02-metaballs/metaballs.cpp +++ b/examples/02-metaballs/metaballs.cpp @@ -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);