Skip to content

Commit

Permalink
Merge pull request #10 from Alex-MSFT/flip_after_render_init
Browse files Browse the repository at this point in the history
Respect BGFX_RESET_FLIP_AFTER_RENDER during Init
  • Loading branch information
syntheticmagus authored Dec 2, 2020
2 parents 038bd72 + fb848e8 commit 11681ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bgfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1817,6 +1817,7 @@ namespace bgfx
m_frames = 0;
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);

Expand Down

0 comments on commit 11681ba

Please sign in to comment.