wined3d: Pass parent ops to wined3d_texture_set_sub_resource_parent().
commit4f8635bd78a4858426e02fa1defe61fae11bfc9f
authorZebediah Figura <zfigura@codeweavers.com>
Sat, 24 Dec 2022 05:42:22 +0000 (23 23:42 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 22 Mar 2023 19:03:51 +0000 (22 20:03 +0100)
treebfe44e2de7ea6ad6bb55e94dde5f7b305f9739fe
parentf103da7c69cc18aaf63f08a752d870b7049d9d20
wined3d: Pass parent ops to wined3d_texture_set_sub_resource_parent().

So that we can allow setting the sub resource and parent ops not from the
texture_sub_resource_created() callback, and also that we can "detach" a wined3d
surface from ddraw after creating it, so that we can recreate the backing
wined3d texture, viz. in SetSurfaceDesc().
dlls/ddraw/surface.c
dlls/wined3d/texture.c
dlls/wined3d/wined3d.spec
include/wine/wined3d.h