Parcourir la source

Added vsync to lod example.

bkaradzic il y a 12 ans
Parent
commit
37f4bedeb8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;
 	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);