mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 06:13:07 +01:00
Added flush after render reset flag.
This commit is contained in:
@@ -5590,6 +5590,11 @@ namespace bgfx { namespace gl
|
||||
|
||||
if (0 < _render->m_num)
|
||||
{
|
||||
if (0 != (m_resolution.m_flags & BGFX_RESET_FLUSH_AFTER_RENDER) )
|
||||
{
|
||||
GL_CHECK(glFlush() );
|
||||
}
|
||||
|
||||
captureElapsed = -bx::getHPCounter();
|
||||
capture();
|
||||
captureElapsed += bx::getHPCounter();
|
||||
|
||||
Reference in New Issue
Block a user