mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 09:27:17 +00:00
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:
parent
e771fc8dde
commit
1dd9b53a6a
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue