mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d: Use vk_append_struct() in more places.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
8ba2b2baec
commit
56d260b40e
@@ -19,16 +19,6 @@
|
||||
|
||||
#include "vkd3d_private.h"
|
||||
|
||||
static void vk_append_struct(void *h, void *structure)
|
||||
{
|
||||
VkBaseOutStructure *header = h;
|
||||
|
||||
while (header->pNext)
|
||||
header = header->pNext;
|
||||
|
||||
header->pNext = structure;
|
||||
}
|
||||
|
||||
/* ID3D12RootSignature */
|
||||
static inline struct d3d12_root_signature *impl_from_ID3D12RootSignature(ID3D12RootSignature *iface)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user