mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 21:04:55 +00:00
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:
parent
414543f6ab
commit
25f6693048
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue