[PATCH 06/10] d3d9: use wined3d_rendertarget_view_create instead of wined3d_rendertarget_view_create_from_surface in d3d9_surface_get_rendertarget_view

Henri Verbeet hverbeet at gmail.com
Tue Oct 20 10:36:33 CDT 2015

On 20 October 2015 at 16:42, Riccardo Bortolato <rikyz619 at gmail.com> wrote:
> Is this different from d3d8?
No, it's wrong there too, I just missed it. It happens to work in
practice because wined3d_rendertarget_view_init() only uses the value
to calculate the sub-resource index, but it would break as soon as we
tried to create ARB_texture_view views for wined3d rendertarget views.

More information about the wine-devel mailing list