vulkaninfo: Fix error message when gpus.size()==0
authorVladimir Panteleev <CyberShadow@users.noreply.github.com>
Sat, 4 Sep 2021 06:16:46 +0000 (06:16 +0000)
committerjeremyk-lunarg <jeremyk@lunarg.com>
Tue, 7 Sep 2021 14:53:57 +0000 (08:53 -0600)
commit967dbb875111a187109a0cf79eb08a6ca7f35e92
treefa1e03798df265e1440eda8785ad4c7b5e96f954
parent642da192c802b1d8b9dac4f9b0524a11e9bba16c
vulkaninfo: Fix error message when gpus.size()==0

Avoid an amusing and slightly misleading error message:

"The selected gpu (0) is not a valid GPU index. The available GPUs are
in the range of 0 to 18446744073709551615."
vulkaninfo/vulkaninfo.cpp