mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Cleanup.
This commit is contained in:
parent
e93449571d
commit
46d6ff0b59
2 changed files with 3 additions and 17 deletions
15
src/bgfx.cpp
15
src/bgfx.cpp
|
@ -852,19 +852,6 @@ namespace bgfx
|
|||
#endif // BGFX_CONFIG_DEBUG
|
||||
}
|
||||
|
||||
void Context::dumpViewStats()
|
||||
{
|
||||
#if 0 // BGFX_CONFIG_DEBUG
|
||||
for (uint8_t view = 0; view < BGFX_CONFIG_MAX_VIEWS; ++view)
|
||||
{
|
||||
if (0 < m_seq[view])
|
||||
{
|
||||
BX_TRACE("%d: %d", view, m_seq[view]);
|
||||
}
|
||||
}
|
||||
#endif // BGFX_CONFIG_DEBUG
|
||||
}
|
||||
|
||||
void Context::freeDynamicBuffers()
|
||||
{
|
||||
for (uint16_t ii = 0, num = m_numFreeDynamicIndexBufferHandles; ii < num; ++ii)
|
||||
|
@ -961,8 +948,6 @@ namespace bgfx
|
|||
memcpy(m_submit->m_other, m_other, sizeof(m_other) );
|
||||
m_submit->finish();
|
||||
|
||||
dumpViewStats();
|
||||
|
||||
Frame* temp = m_render;
|
||||
m_render = m_submit;
|
||||
m_submit = temp;
|
||||
|
|
|
@ -2551,9 +2551,10 @@ namespace bgfx
|
|||
void frame();
|
||||
void frameNoRenderWait();
|
||||
void swap();
|
||||
bool renderFrame(); // render thread
|
||||
void rendererFlip();
|
||||
|
||||
// render thread
|
||||
bool renderFrame();
|
||||
void rendererFlip();
|
||||
void rendererInit();
|
||||
void rendererShutdown();
|
||||
void rendererCreateIndexBuffer(IndexBufferHandle _handle, Memory* _mem);
|
||||
|
|
Loading…
Reference in a new issue