mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-utils: Initialize the null type vtbl.
This commit is contained in:
parent
7b3c47ba2e
commit
35d388eedd
Notes:
Alexandre Julliard
2024-05-06 22:37:40 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/848
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user