mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-utils: Use WIDL_C_INLINE_WRAPPERS.
This commit is contained in:
parent
d5717d333b
commit
534044181b
Notes:
Alexandre Julliard
2024-04-25 00:14:58 +02:00
Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/830
@ -340,7 +340,7 @@ static HRESULT STDMETHODCALLTYPE d3d12_reflection_QueryInterface(
|
||||
if (IsEqualGUID(riid, &IID_ID3D12ShaderReflection)
|
||||
|| IsEqualGUID(riid, &IID_IUnknown))
|
||||
{
|
||||
IUnknown_AddRef(iface);
|
||||
ID3D12ShaderReflection_AddRef(iface);
|
||||
*object = iface;
|
||||
return S_OK;
|
||||
}
|
||||
|
@ -19,6 +19,9 @@
|
||||
#ifndef __VKD3D_UTILS_PRIVATE_H
|
||||
#define __VKD3D_UTILS_PRIVATE_H
|
||||
|
||||
#ifndef __MINGW32__
|
||||
#define WIDL_C_INLINE_WRAPPERS
|
||||
#endif
|
||||
#define COBJMACROS
|
||||
#define NONAMELESSUNION
|
||||
#define VK_NO_PROTOTYPES
|
||||
|
Loading…
Reference in New Issue
Block a user