Added vsync to lod example.

This commit is contained in:
bkaradzic 2013-05-18 23:10:33 -07:00
parent 6752a421a2
commit 37f4bedeb8

View file

@ -311,7 +311,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);