wined3d: Ensure method declaration matches implementations.

wined3d_resource_ops.resource_sub_resource_map()

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
This commit is contained in:
Eric Pouech 2022-10-07 11:54:45 +02:00 committed by Alexandre Julliard
parent 414543f6ab
commit 25f6693048
2 changed files with 2 additions and 2 deletions

View file

@ -3689,7 +3689,7 @@ static void texture_resource_sub_resource_get_map_pitch(struct wined3d_resource
}
static HRESULT texture_resource_sub_resource_map(struct wined3d_resource *resource, unsigned int sub_resource_idx,
void **map_ptr, const struct wined3d_box *box, DWORD flags)
void **map_ptr, const struct wined3d_box *box, uint32_t flags)
{
struct wined3d_texture_sub_resource *sub_resource;
struct wined3d_device *device = resource->device;

View file

@ -4393,7 +4393,7 @@ struct wined3d_resource_ops
void (*resource_sub_resource_get_map_pitch)(struct wined3d_resource *resource,
unsigned int sub_resource_idx, unsigned int *row_pitch, unsigned int *slice_pitch);
HRESULT (*resource_sub_resource_map)(struct wined3d_resource *resource, unsigned int sub_resource_idx,
void **map_ptr, const struct wined3d_box *box, DWORD flags);
void **map_ptr, const struct wined3d_box *box, uint32_t flags);
HRESULT (*resource_sub_resource_unmap)(struct wined3d_resource *resource, unsigned int sub_resource_idx);
};