From e3f55717e2e1230fd2243c6dc5aa42e6895b3cc6 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Fri, 24 Feb 2017 08:10:31 +0100 Subject: [PATCH] wined3d: Get rid of the depth/stencil FIXME in texture_resource_sub_resource_unmap(). Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/wined3d/texture.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c index 174640446d4..20a6c0ece4c 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)