Henri Verbeet : wined3d: Get resource info from the texture in surface_depth_blt_fbo().

Alexandre Julliard julliard at wine.codeweavers.com
Tue Mar 15 10:12:16 CDT 2016


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Mar 14 17:02:14 2016 +0100

wined3d: Get resource info from the texture in surface_depth_blt_fbo().

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

---

 dlls/wined3d/surface.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 99a2649..110344c 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -633,15 +633,15 @@ static void surface_depth_blt_fbo(const struct wined3d_device *device,
     if (src_mask != dst_mask)
     {
         ERR("Incompatible formats %s and %s.\n",
-                debug_d3dformat(src_surface->resource.format->id),
-                debug_d3dformat(dst_surface->resource.format->id));
+                debug_d3dformat(src_surface->container->resource.format->id),
+                debug_d3dformat(dst_surface->container->resource.format->id));
         return;
     }
 
     if (!src_mask)
     {
         ERR("Not a depth / stencil format: %s.\n",
-                debug_d3dformat(src_surface->resource.format->id));
+                debug_d3dformat(src_surface->container->resource.format->id));
         return;
     }
 




More information about the wine-cvs mailing list