On 17 April 2014 15:47, Stefan Dösinger stefan@codeweavers.com wrote:
dlls/d3d9/texture.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-)
I suppose this works, but I don't think it's really necessary. At some point wined3d_texture_get_sub_resource() will go away of course, but I don't think there's a reason we can't e.g. have a wined3d_resource_get_sub_resource_desc(), or alternatively just store the information on d3d9 volume creation.