21 Oct
2015
21 Oct
'15
8:11 a.m.
On 20 October 2015 at 21:13, Riccardo Bortolato <rikyz619(a)gmail.com> wrote:
Well if instead of
+ resource = wined3d_texture_get_resource(surface->wined3d_texture);
I call wined3d_texture_get_sub_resource() then once control goes back to wined3d we can know texture_level and texture_layer for that particular surface (casting the surface from the subresource e.g. in wined3d_rendertarget_view_init()).
That would work in principle, but I don't think it's what we want.