Silent error mode as global toggle

This commit is contained in:
saschawillems 2018-01-21 10:58:30 +01:00
parent 6a60e5d60e
commit 4b0bb1a454
3 changed files with 7 additions and 1 deletions

View file

@ -695,6 +695,7 @@ VulkanExampleBase::VulkanExampleBase(bool enableValidation)
// Benchmark
if ((args[i] == std::string("-b")) || (args[i] == std::string("--benchmark"))) {
benchmark.active = true;
vks::tools::errorModeSilent = true;
}
// Warmup time (in seconds)
if ((args[i] == std::string("-bw")) || (args[i] == std::string("--benchwarmup"))) {