diff options
| author | C Stout <cstout@google.com> | 2021-08-20 13:19:01 -0700 |
|---|---|---|
| committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2021-12-12 19:47:43 -0700 |
| commit | 05c6171c04df6f3747f1c9ab6e7b50ef3256ac03 (patch) | |
| tree | 7fff47f97e03aebd634f18d1cefe752adef0e735 /cube/cube.cpp | |
| parent | d3cdb64f2ef5e806f2b3ac43c5428105514ae838 (diff) | |
| download | usermoji-05c6171c04df6f3747f1c9ab6e7b50ef3256ac03.tar.xz | |
Fix error messages upon failure to connect to window systems.
Change-Id: I650958a8b2607eb3402eb6531909881d4a2ccc0f
Diffstat (limited to 'cube/cube.cpp')
| -rw-r--r-- | cube/cube.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cube/cube.cpp b/cube/cube.cpp index ddbd1fc9..7c836524 100644 --- a/cube/cube.cpp +++ b/cube/cube.cpp @@ -1065,9 +1065,7 @@ void Demo::init_connection() { connection = xcb_connect(nullptr, &scr); if (xcb_connection_has_error(connection) > 0) { - printf( - "Cannot find a compatible Vulkan installable client driver " - "(ICD).\nExiting ...\n"); + printf("Cannot connect to XCB.\nExiting ...\n"); fflush(stdout); exit(1); } @@ -1081,7 +1079,7 @@ void Demo::init_connection() { display = wl_display_connect(nullptr); if (display == nullptr) { - printf("Cannot find a compatible Vulkan installable client driver (ICD).\nExiting ...\n"); + printf("Cannot connect to wayland.\nExiting ...\n"); fflush(stdout); exit(1); } |
