From 35d388eedd87ca3a8d53b8faded59e5ed28f86d2 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Thu, 2 May 2024 22:11:54 -0500 Subject: [PATCH] vkd3d-utils: Initialize the null type vtbl. --- libs/vkd3d-utils/reflection.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/vkd3d-utils/reflection.c b/libs/vkd3d-utils/reflection.c index 4f3a1a24..0c9017a4 100644 --- a/libs/vkd3d-utils/reflection.c +++ b/libs/vkd3d-utils/reflection.c @@ -197,6 +197,8 @@ static const struct ID3D12ShaderReflectionTypeVtbl d3d12_type_vtbl = d3d12_type_ImplementsInterface, }; +static struct d3d12_type null_type = {{&d3d12_type_vtbl}}; + static struct d3d12_variable *impl_from_ID3D12ShaderReflectionVariable(ID3D12ShaderReflectionVariable *iface) { return CONTAINING_RECORD(iface, struct d3d12_variable, ID3D12ShaderReflectionVariable_iface);