Silent error mode as global toggle
This commit is contained in:
parent
6a60e5d60e
commit
4b0bb1a454
3 changed files with 7 additions and 1 deletions
|
|
@ -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"))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue