[PATCH 3/5] wined3d: Get rid of the depth/stencil FIXME in texture_resource_sub_resource_unmap().
Henri Verbeet
hverbeet at codeweavers.com
Fri Feb 24 01:10:31 CST 2017
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
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
More information about the wine-patches
mailing list