From: Henri Verbeet Subject: [PATCH 3/5] wined3d: Get rid of the depth/stencil FIXME in texture_resource_sub_resource_unmap(). Message-Id: <1487920233-7391-3-git-send-email-hverbeet@codeweavers.com> Date: Fri, 24 Feb 2017 08:10:31 +0100 Signed-off-by: Henri Verbeet --- dlls/wined3d/texture.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c index 1746404..20a6c0e 100644 --- a/dlls/wined3d/texture.c +++ b/dlls/wined3d/texture.c @@ -1957,10 +1957,6 @@ static HRESULT texture_resource_sub_resource_unmap(struct wined3d_resource *reso if (!(sub_resource->locations & (WINED3D_LOCATION_DRAWABLE | WINED3D_LOCATION_TEXTURE_RGB))) texture->swapchain->swapchain_ops->swapchain_frontbuffer_updated(texture->swapchain); } - else if (resource->format_flags & (WINED3DFMT_FLAG_DEPTH | WINED3DFMT_FLAG_STENCIL)) - { - FIXME("Depth / stencil buffer locking is not implemented.\n"); - } --sub_resource->map_count; if (!--resource->map_count && texture->update_map_binding) -- 2.1.4