mirror of
https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git
synced 2026-01-04 05:00:17 +01:00
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:
parent
9b698b4a2f
commit
7670a0ac84
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue