[PATCH 5/5] wined3d: Update user memory for specified sub resource in wined3d_texture_update_desc().
Henri Verbeet
hverbeet at gmail.com
Mon Jun 15 11:06:36 CDT 2020
On Sun, 14 Jun 2020 at 22:48, Paul Gofman <pgofman at codeweavers.com> wrote:
> diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h
> index 5450b4d2117..07e6833402a 100644
> --- a/include/wine/wined3d.h
> +++ b/include/wine/wined3d.h
> @@ -2811,7 +2811,7 @@ void __cdecl wined3d_texture_set_sub_resource_parent(struct wined3d_texture *tex
> HRESULT __cdecl wined3d_texture_update_desc(struct wined3d_texture *texture,
> UINT width, UINT height, enum wined3d_format_id format_id,
> enum wined3d_multisample_type multisample_type, UINT multisample_quality,
> - void *mem, UINT pitch);
> + void *mem, UINT pitch, unsigned int sub_resource_idx);
By convention, "sub_resource_idx" is the first argument after "texture".
More information about the wine-devel
mailing list