mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fixed compile errors. Added default part of view debug name. Added example how to use view debug name.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user