aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2020-03-27 16:57:54 -0600
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2020-03-28 12:20:43 -0600
commit0cf692bf9cbd7b109fc8f5725f14b59a49dcb82f (patch)
tree4db77120a25bc125847210e61d5db6adce2d9016
parentbec7b6e29260caa9348b1fd42b5d65443d512748 (diff)
downloadusermoji-0cf692bf9cbd7b109fc8f5725f14b59a49dcb82f.tar.xz
vulkaninfo: Fix lack of display throwing on linux
During the Error Handling refactor, this line was accidentally made throwing when before it simply reported an issue and kept going. Change-Id: Ia3b33749ee05037a5df22398ba8b628811fad29b
-rw-r--r--vulkaninfo/vulkaninfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vulkaninfo/vulkaninfo.h b/vulkaninfo/vulkaninfo.h
index bb83e702..93a416ab 100644
--- a/vulkaninfo/vulkaninfo.h
+++ b/vulkaninfo/vulkaninfo.h
@@ -987,7 +987,7 @@ void SetupWindowExtensions(AppInstance &inst) {
const char *display_var = getenv("DISPLAY");
if (display_var == nullptr || strlen(display_var) == 0) {
has_display = false;
- THROW_ERR("'DISPLAY' environment variable not set... skipping surface info");
+ std::cerr << "'DISPLAY' environment variable not set... skipping surface info\n";
}
#endif