Skip to content

Commit

Permalink
Force flip after render during init.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-MSFT committed Dec 2, 2020
1 parent 038bd72 commit 84929ee
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 84929ee

Please sign in to comment.