Fix small issues in documentation and code

A couple of details in the installation instructions needed updating.
Also fixed a warning message due to a missing return statement (the
return value is currently not used in calls to the function).

Signed-off-by: Matteo Franchin <matteo.franchin@arm.com>
Change-Id: I715b954579253e664ebe01f757587e0602ad82e7
This commit is contained in:
Matteo Franchin 2019-09-11 13:26:22 +00:00
parent 9b698b4a2f
commit 7670a0ac84
2 changed files with 2 additions and 2 deletions

View file

@ -35,8 +35,7 @@ git clone https://github.com/KhronosGroup/Vulkan-Loader.git
mkdir Vulkan-Loader/build
cd Vulkan-Loader/build
../scripts/update_deps.py
make -C Vulkan-Headers install
cmake -C helper.cmake .. -DBUILD_WSI_HEADLESS_SUPPORT=ON
cmake -C helper.cmake ..
make
make install
```

View file

@ -88,6 +88,7 @@ device_private_data &device_private_data::create(VkDevice dev, PFN_vkGetDevicePr
new device_private_data(dev, get_proc, instance_private_data::get(get_key(phys_dev)), set_loader_data);
scoped_mutex lock(g_data_lock);
g_device_data[get_key(dev)] = dev_data;
return *dev_data;
}
device_private_data &device_private_data::get(void *key)