Commit 1dd9b53a authored by Andrew Guertin's avatar Andrew Guertin Committed by Alexandre Julliard

d3d11: Stop warning about depth stencil view flags.

Support for these flags was added in 600f39d4. Signed-off-by: 's avatarAndrew Guertin <aguertin+wine@aguertin.net> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent e771fc8d
...@@ -1212,9 +1212,6 @@ static void wined3d_depth_stencil_view_desc_from_d3d11(struct wined3d_view_desc ...@@ -1212,9 +1212,6 @@ static void wined3d_depth_stencil_view_desc_from_d3d11(struct wined3d_view_desc
{ {
wined3d_desc->format_id = wined3dformat_from_dxgi_format(desc->Format); wined3d_desc->format_id = wined3dformat_from_dxgi_format(desc->Format);
if (desc->Flags)
FIXME("Unhandled depth stencil view flags %#x.\n", desc->Flags);
wined3d_desc->flags = 0; wined3d_desc->flags = 0;
if (desc->Flags & D3D11_DSV_READ_ONLY_DEPTH) if (desc->Flags & D3D11_DSV_READ_ONLY_DEPTH)
wined3d_desc->flags |= WINED3D_VIEW_READ_ONLY_DEPTH; wined3d_desc->flags |= WINED3D_VIEW_READ_ONLY_DEPTH;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment