d3d11: Stop warning about depth stencil view flags.

Support for these flags was added in 600f39d4.

Signed-off-by: Andrew Guertin <aguertin+wine@aguertin.net>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrew Guertin 2020-04-07 01:52:34 -04:00 committed by Alexandre Julliard
parent e771fc8dde
commit 1dd9b53a6a

View file

@ -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);
if (desc->Flags)
FIXME("Unhandled depth stencil view flags %#x.\n", desc->Flags);
wined3d_desc->flags = 0;
if (desc->Flags & D3D11_DSV_READ_ONLY_DEPTH)
wined3d_desc->flags |= WINED3D_VIEW_READ_ONLY_DEPTH;