mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Ensure bgfx::init() respects BGFX_RESET_FLIP_AFTER_RENDER (#3073)
This updates the behaviour of bgfx::init() to ensure that it checks for the BGFX_RESET_FLIP_AFTER_RENDER flag.
This commit is contained in:
@@ -1913,6 +1913,7 @@ namespace bgfx
|
||||
m_flipped = true;
|
||||
m_debug = BGFX_DEBUG_NONE;
|
||||
m_frameTimeLast = bx::getHPCounter();
|
||||
m_flipAfterRender = !!(m_init.resolution.reset & BGFX_RESET_FLIP_AFTER_RENDER);
|
||||
|
||||
m_submit->create(_init.limits.minResourceCbSize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user