[PATCH 0/1] MR771: include: Add D3D10CalcSubresource definition in d3d10.idl.
From: Biswapriyo Nath <nathbappai(a)gmail.com> Signed-off-by: Biswapriyo Nath <nathbappai(a)gmail.com> --- include/d3d10.idl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/d3d10.idl b/include/d3d10.idl index c35e44a0d92..71f93c51afb 100644 --- a/include/d3d10.idl +++ b/include/d3d10.idl @@ -252,6 +252,11 @@ cpp_quote("#define MAKE_D3D10_STATUS(code) MAKE_HRESULT( 0, _ cpp_quote("#define D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS MAKE_D3D10_HRESULT(1)") cpp_quote("#define D3D10_ERROR_FILE_NOT_FOUND MAKE_D3D10_HRESULT(2)") +cpp_quote("#if !defined(D3D10_NO_HELPERS) && defined(__cplusplus)") +cpp_quote("inline UINT D3D10CalcSubresource(UINT MipSlice, UINT ArraySlice, UINT MipLevels)") +cpp_quote("{ return MipSlice + ArraySlice * MipLevels; }") +cpp_quote("#endif") + typedef enum D3D10_BLEND { D3D10_BLEND_ZERO = 1, D3D10_BLEND_ONE = 2, -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/771
@hverbeet Would you like to review this merge request please? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/771#note_7558
It doesn't look wrong to me. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/771#note_8199
This merge request was closed by Biswapriyo Nath. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/771
participants (3)
-
Biswapriyo Nath -
Biswapriyo Nath (@Biswa96) -
Henri Verbeet (@hverbeet)