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

@@ -976,13 +976,6 @@ namespace bgfx
m_submit->m_transientVb = createTransientVertexBuffer(BGFX_CONFIG_TRANSIENT_VERTEX_BUFFER_SIZE);
m_submit->m_transientIb = createTransientIndexBuffer(BGFX_CONFIG_TRANSIENT_INDEX_BUFFER_SIZE);
frame();
for (uint8_t ii = 0; ii < BGFX_CONFIG_MAX_VIEWS; ++ii)
{
char name[256];
bx::snprintf(name, sizeof(name), "%02d view", ii);
setViewName(ii, name);
}
}
void Context::shutdown()