From: Henri Verbeet Subject: Re: [PATCH 5/5] wined3d: Update user memory for specified sub resource in wined3d_texture_update_desc(). Message-Id: Date: Mon, 15 Jun 2020 20:36:36 +0430 In-Reply-To: <20200614181638.168694-5-pgofman@codeweavers.com> References: <20200614181638.168694-1-pgofman@codeweavers.com> <20200614181638.168694-5-pgofman@codeweavers.com> On Sun, 14 Jun 2020 at 22:48, Paul Gofman 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".