aboutsummaryrefslogtreecommitdiff
path: root/vulkaninfo/vulkaninfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vulkaninfo/vulkaninfo.cpp')
-rw-r--r--vulkaninfo/vulkaninfo.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/vulkaninfo/vulkaninfo.cpp b/vulkaninfo/vulkaninfo.cpp
index 71be8c4d..f12b370f 100644
--- a/vulkaninfo/vulkaninfo.cpp
+++ b/vulkaninfo/vulkaninfo.cpp
@@ -676,11 +676,7 @@ int main(int argc, char **argv) {
if (ConsoleIsExclusive()) ConsoleEnlarge();
#endif
- bool human_readable_output = true;
- bool html_output = false;
- bool json_output = false;
uint32_t selected_gpu = 0;
- bool show_formats = false;
// Combinations of output: html only, html AND json, json only, human readable only
for (int i = 1; i < argc; ++i) {
@@ -791,11 +787,7 @@ int main(int argc, char **argv) {
}
#endif
-#ifdef _WIN32
- if (ConsoleIsExclusive()) {
- Sleep(INFINITE);
- }
-#endif
+ WAIT_FOR_CONSOLE_DESTROY;
return 0;
}