aboutsummaryrefslogtreecommitdiff
path: root/demos/cube.cpp
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2016-11-11 15:13:40 +0500
committerKarl Schultz <karl@lunarg.com>2016-11-14 10:35:11 -0700
commit1731acbd8ce5cdadf879117f92cd0b1d1388e440 (patch)
treea4539078df8dfa7f6cad5fae99eaa69c18339b88 /demos/cube.cpp
parent4bac7a3e221c5dd943d8bb600fe21356342486c9 (diff)
downloadusermoji-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