Commit 25f66930 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

wined3d: Ensure method declaration matches implementations.

wined3d_resource_ops.resource_sub_resource_map() Signed-off-by: 's avatarEric Pouech <eric.pouech@gmail.com>
parent 414543f6
......@@ -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;
......
......@@ -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);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment