On 22 April 2015 at 11:30, Stefan Dösinger stefan@codeweavers.com wrote:
@@ -101,6 +101,7 @@ static void wined3d_rendertarget_view_init(struct wined3d_rendertarget_view *vie view->parent_ops = parent_ops;
view->format = wined3d_get_format(gl_info, desc->format_id);
- view->format_flags = resource->format_flags;
That's wrong. We won't be able to do much with this until we support ARB_texture_view, but the view format is mostly independent of the resource format, other than that they have to be from the same compatibility class. I guess you'd want something like "view->format_flags = view->format->flags[resource->gl_type];".