Zebediah Figura : vkd3d-utils: Initialize the null type vtbl.
Module: vkd3d Branch: master Commit: 35d388eedd87ca3a8d53b8faded59e5ed28f86d2 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/35d388eedd87ca3a8d53b8faded59e... Author: Zebediah Figura <zfigura(a)codeweavers.com> Date: Thu May 2 22:11:54 2024 -0500 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);
participants (1)
-
Alexandre Julliard