mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Added vsync to lod example.
This commit is contained in:
parent
6752a421a2
commit
37f4bedeb8
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
||||||
uint32_t reset = BGFX_RESET_VSYNC;
|
uint32_t reset = BGFX_RESET_VSYNC;
|
||||||
|
|
||||||
bgfx::init();
|
bgfx::init();
|
||||||
bgfx::reset(width, height);
|
bgfx::reset(width, height, reset);
|
||||||
|
|
||||||
// Enable debug text.
|
// Enable debug text.
|
||||||
bgfx::setDebug(debug);
|
bgfx::setDebug(debug);
|
||||||
|
|
Loading…
Reference in a new issue