Fixed compile errors. Added default part of view debug name. Added example how to use view debug name.

This commit is contained in:
Branimir Karadžić
2014-10-25 18:07:51 -07:00
parent 3947174959
commit 208a348ab2
16 changed files with 82 additions and 37 deletions

View File

@@ -699,6 +699,9 @@ int _main_(int /*_argc*/, char** /*_argv*/)
// Set vertex and index buffer.
bgfx::setVertexBuffer(&tvb, 0, numVertices);
// Set render states.
bgfx::setState(BGFX_STATE_DEFAULT);
// Submit primitive for rendering to view 0.
bgfx::submit(0);