瀏覽代碼

Fixed reset flag in examples.

bkaradzic 12 年之前
父節點
當前提交
3601c74e92

+ 1 - 1
examples/00-helloworld/helloworld.cpp

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

+ 1 - 1
examples/01-cubes/cubes.cpp

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

+ 1 - 1
examples/02-metaballs/metaballs.cpp

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

+ 1 - 1
examples/03-raymarch/raymarch.cpp

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

+ 1 - 1
examples/04-mesh/mesh.cpp

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

+ 1 - 1
examples/05-instancing/instancing.cpp

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

+ 1 - 1
examples/06-bump/bump.cpp

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

+ 1 - 1
examples/08-update/update.cpp

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

+ 1 - 1
examples/09-hdr/hdr.cpp

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