diff options
| author | Awais Belal <awais_belal@mentor.com> | 2016-11-11 15:13:40 +0500 |
|---|---|---|
| committer | Karl Schultz <karl@lunarg.com> | 2016-11-14 10:35:11 -0700 |
| commit | 1731acbd8ce5cdadf879117f92cd0b1d1388e440 (patch) | |
| tree | a4539078df8dfa7f6cad5fae99eaa69c18339b88 /demos/cube.cpp | |
| parent | 4bac7a3e221c5dd943d8bb600fe21356342486c9 (diff) | |
| download | usermoji-1731acbd8ce5cdadf879117f92cd0b1d1388e440.tar.xz | |
vulkaninfo: fix segfault when DISPLAY is not set
Both xlib and xcb interfaces expect the DISPLAY environment
variable to be set before creation of a window and the
display creation mechanism would segfault if that is
not the case and won't provide the user with details on
what has to be done to correct the problem.
We now handle such scenarios and exit cleanly after
providing the user with some details.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Diffstat (limited to 'demos/cube.cpp')
0 files changed, 0 insertions, 0 deletions
