Henri Verbeet : wined3d: Get rid of the depth/ stencil FIXME in texture_resource_sub_resource_unmap().

Alexandre Julliard julliard at winehq.org
Fri Feb 24 14:48:09 CST 2017


Module: wine
Branch: master
Commit: e3f55717e2e1230fd2243c6dc5aa42e6895b3cc6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e3f55717e2e1230fd2243c6dc5aa42e6895b3cc6

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri Feb 24 08:10:31 2017 +0100

wined3d: Get rid of the depth/stencil FIXME in texture_resource_sub_resource_unmap().

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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)




More information about the wine-cvs mailing list