=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: vkd3d: Fix device features structure chain.

Alexandre Julliard julliard at winehq.org
Wed Apr 10 14:54:30 CDT 2019


Module: vkd3d
Branch: master
Commit: ec458df6ff98122c7b22ccef370758a21526c00b
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=ec458df6ff98122c7b22ccef370758a21526c00b

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Wed Apr 10 17:31:58 2019 +0200

vkd3d: Fix device features structure chain.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 libs/vkd3d/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/vkd3d/device.c b/libs/vkd3d/device.c
index 43c6830..5c0c880 100644
--- a/libs/vkd3d/device.c
+++ b/libs/vkd3d/device.c
@@ -1583,7 +1583,7 @@ static HRESULT vkd3d_create_vk_device(struct d3d12_device *device,
     depth_clip_features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT;
     memset(&descriptor_indexing_features, 0, sizeof(descriptor_indexing_features));
     descriptor_indexing_features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT;
-    descriptor_indexing_features.pNext = &depth_clip_features.pNext;
+    descriptor_indexing_features.pNext = &depth_clip_features;
     memset(&xfb_features, 0, sizeof(xfb_features));
     xfb_features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT;
     xfb_features.pNext = &descriptor_indexing_features;




More information about the wine-cvs mailing list