Browse Source

Added vsync to lod example.

bkaradzic 12 years ago
parent
commit
37f4bedeb8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/12-lod/lod.cpp

+ 1 - 1
examples/12-lod/lod.cpp

@@ -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);