mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-03-29 08:19:52 -04:00
Fixed reset flag in examples.
This commit is contained in:
parent
528360ac6c
commit
3601c74e92
9 changed files with 9 additions and 9 deletions
examples
00-helloworld
01-cubes
02-metaballs
03-raymarch
04-mesh
05-instancing
06-bump
08-update
09-hdr
|
@ -17,7 +17,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
|||
uint32_t reset = BGFX_RESET_VSYNC;
|
||||
|
||||
bgfx::init();
|
||||
bgfx::reset(width, height);
|
||||
bgfx::reset(width, height, reset);
|
||||
|
||||
// Enable debug text.
|
||||
bgfx::setDebug(debug);
|
||||
|
|
|
@ -102,7 +102,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
|||
uint32_t reset = BGFX_RESET_VSYNC;
|
||||
|
||||
bgfx::init();
|
||||
bgfx::reset(width, height);
|
||||
bgfx::reset(width, height, reset);
|
||||
|
||||
// Enable debug text.
|
||||
bgfx::setDebug(debug);
|
||||
|
|
|
@ -502,7 +502,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
|||
uint32_t reset = BGFX_RESET_VSYNC;
|
||||
|
||||
bgfx::init();
|
||||
bgfx::reset(width, height);
|
||||
bgfx::reset(width, height, reset);
|
||||
|
||||
// Enable debug text.
|
||||
bgfx::setDebug(debug);
|
||||
|
|
|
@ -181,7 +181,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
|||
uint32_t reset = BGFX_RESET_VSYNC;
|
||||
|
||||
bgfx::init();
|
||||
bgfx::reset(width, height);
|
||||
bgfx::reset(width, height, reset);
|
||||
|
||||
// Enable debug text.
|
||||
bgfx::setDebug(debug);
|
||||
|
|
|
@ -286,7 +286,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
|||
uint32_t reset = BGFX_RESET_VSYNC;
|
||||
|
||||
bgfx::init();
|
||||
bgfx::reset(width, height);
|
||||
bgfx::reset(width, height, reset);
|
||||
|
||||
// Enable debug text.
|
||||
bgfx::setDebug(debug);
|
||||
|
|
|
@ -102,7 +102,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
|||
uint32_t reset = BGFX_RESET_VSYNC;
|
||||
|
||||
bgfx::init();
|
||||
bgfx::reset(width, height);
|
||||
bgfx::reset(width, height, reset);
|
||||
|
||||
// Enable debug text.
|
||||
bgfx::setDebug(debug);
|
||||
|
|
|
@ -258,7 +258,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
|||
uint32_t reset = BGFX_RESET_VSYNC;
|
||||
|
||||
bgfx::init();
|
||||
bgfx::reset(width, height);
|
||||
bgfx::reset(width, height, reset);
|
||||
|
||||
// Enable debug text.
|
||||
bgfx::setDebug(debug);
|
||||
|
|
|
@ -133,7 +133,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
|||
uint32_t reset = BGFX_RESET_VSYNC;
|
||||
|
||||
bgfx::init();
|
||||
bgfx::reset(width, height);
|
||||
bgfx::reset(width, height, reset);
|
||||
|
||||
// Enable debug text.
|
||||
bgfx::setDebug(debug);
|
||||
|
|
|
@ -413,7 +413,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
|||
uint32_t reset = BGFX_RESET_VSYNC;
|
||||
|
||||
bgfx::init();
|
||||
bgfx::reset(width, height);
|
||||
bgfx::reset(width, height, reset);
|
||||
|
||||
// Enable debug text.
|
||||
bgfx::setDebug(debug);
|
||||
|
|
Loading…
Add table
Reference in a new issue