Run all samples with vsync on by default.
This commit is contained in:
parent
757bf93b78
commit
fb7fd32f24
9 changed files with 9 additions and 9 deletions
examples/00-helloworld
|
@ -14,7 +14,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
|||
uint32_t width = 1280;
|
||||
uint32_t height = 720;
|
||||
uint32_t debug = BGFX_DEBUG_TEXT;
|
||||
uint32_t reset = BGFX_RESET_NONE;
|
||||
uint32_t reset = BGFX_RESET_VSYNC;
|
||||
|
||||
bgfx::init();
|
||||
bgfx::reset(width, height);
|
||||
|
|
Reference in a new issue