mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 01:03:38 +00:00
wined3d: Introduce wined3d_texture_get_swapchain().
This commit is contained in:
parent
5242546465
commit
302996efae
|
@ -4313,6 +4313,11 @@ HRESULT CDECL wined3d_texture_update_overlay(struct wined3d_texture *texture, un
|
|||
return WINED3D_OK;
|
||||
}
|
||||
|
||||
struct wined3d_swapchain * CDECL wined3d_texture_get_swapchain(struct wined3d_texture *texture)
|
||||
{
|
||||
return texture->swapchain;
|
||||
}
|
||||
|
||||
void * CDECL wined3d_texture_get_sub_resource_parent(struct wined3d_texture *texture, unsigned int sub_resource_idx)
|
||||
{
|
||||
TRACE("texture %p, sub_resource_idx %u.\n", texture, sub_resource_idx);
|
||||
|
|
|
@ -301,6 +301,7 @@
|
|||
@ cdecl wined3d_texture_get_resource(ptr)
|
||||
@ cdecl wined3d_texture_get_sub_resource_desc(ptr long ptr)
|
||||
@ cdecl wined3d_texture_get_sub_resource_parent(ptr long)
|
||||
@ cdecl wined3d_texture_get_swapchain(ptr)
|
||||
@ cdecl wined3d_texture_incref(ptr)
|
||||
@ cdecl wined3d_texture_release_dc(ptr long ptr)
|
||||
@ cdecl wined3d_texture_set_color_key(ptr long ptr)
|
||||
|
|
|
@ -2857,6 +2857,7 @@ struct wined3d_resource * __cdecl wined3d_texture_get_resource(struct wined3d_te
|
|||
HRESULT __cdecl wined3d_texture_get_sub_resource_desc(const struct wined3d_texture *texture,
|
||||
unsigned int sub_resource_idx, struct wined3d_sub_resource_desc *desc);
|
||||
void * __cdecl wined3d_texture_get_sub_resource_parent(struct wined3d_texture *texture, unsigned int sub_resource_idx);
|
||||
struct wined3d_swapchain * __cdecl wined3d_texture_get_swapchain(struct wined3d_texture *texture);
|
||||
ULONG __cdecl wined3d_texture_incref(struct wined3d_texture *texture);
|
||||
HRESULT __cdecl wined3d_texture_release_dc(struct wined3d_texture *texture, unsigned int sub_resource_idx, HDC dc);
|
||||
HRESULT __cdecl wined3d_texture_set_color_key(struct wined3d_texture *texture,
|
||||
|
|
Loading…
Reference in a new issue