Re: [PATCH 2/5] wined3d: Shadow format flags in wined3d_rendertarget_view.
22 Apr
2015
22 Apr
'15
12:05 p.m.
On 22 April 2015 at 11:30, Stefan Dösinger <stefan(a)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];".
3888
Age (days ago)
3888
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet