wined3d: Remove wined3d_texture_{map,unmap}().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bcb809ce59
commit
01c3fac140
|
@ -1547,23 +1547,6 @@ HRESULT CDECL wined3d_texture_create(struct wined3d_device *device, const struct
|
|||
return WINED3D_OK;
|
||||
}
|
||||
|
||||
HRESULT CDECL wined3d_texture_map(struct wined3d_texture *texture, unsigned int sub_resource_idx,
|
||||
struct wined3d_map_desc *map_desc, const struct wined3d_box *box, DWORD flags)
|
||||
{
|
||||
TRACE("texture %p, sub_resource_idx %u, map_desc %p, box %p, flags %#x.\n",
|
||||
texture, sub_resource_idx, map_desc, box, flags);
|
||||
|
||||
return texture->resource.resource_ops->resource_sub_resource_map(&texture->resource, sub_resource_idx,
|
||||
map_desc, box, flags);
|
||||
}
|
||||
|
||||
HRESULT CDECL wined3d_texture_unmap(struct wined3d_texture *texture, unsigned int sub_resource_idx)
|
||||
{
|
||||
TRACE("texture %p, sub_resource_idx %u.\n", texture, sub_resource_idx);
|
||||
|
||||
return texture->resource.resource_ops->resource_sub_resource_unmap(&texture->resource, sub_resource_idx);
|
||||
}
|
||||
|
||||
HRESULT CDECL wined3d_texture_get_dc(struct wined3d_texture *texture, unsigned int sub_resource_idx, HDC *dc)
|
||||
{
|
||||
struct wined3d_resource *sub_resource;
|
||||
|
|
|
@ -276,8 +276,6 @@
|
|||
@ cdecl wined3d_texture_set_autogen_filter_type(ptr long)
|
||||
@ cdecl wined3d_texture_set_color_key(ptr long ptr)
|
||||
@ cdecl wined3d_texture_set_lod(ptr long)
|
||||
@ cdecl wined3d_texture_map(ptr long ptr ptr long)
|
||||
@ cdecl wined3d_texture_unmap(ptr long)
|
||||
@ cdecl wined3d_texture_update_desc(ptr long long long long long ptr long)
|
||||
|
||||
@ cdecl wined3d_vertex_declaration_create(ptr ptr long ptr ptr ptr)
|
||||
|
|
|
@ -2554,10 +2554,7 @@ HRESULT __cdecl wined3d_texture_set_autogen_filter_type(struct wined3d_texture *
|
|||
HRESULT __cdecl wined3d_texture_set_color_key(struct wined3d_texture *texture,
|
||||
DWORD flags, const struct wined3d_color_key *color_key);
|
||||
DWORD __cdecl wined3d_texture_set_lod(struct wined3d_texture *texture, DWORD lod);
|
||||
HRESULT __cdecl wined3d_texture_map(struct wined3d_texture *texture, unsigned int sub_resource_idx,
|
||||
struct wined3d_map_desc *map_desc, const struct wined3d_box *box, DWORD flags);
|
||||
HRESULT __cdecl wined3d_texture_release_dc(struct wined3d_texture *texture, unsigned int sub_resource_idx, HDC dc);
|
||||
HRESULT __cdecl wined3d_texture_unmap(struct wined3d_texture *texture, unsigned int sub_resource_idx);
|
||||
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,
|
||||
|
|
Loading…
Reference in New Issue