Module: wine Branch: master Commit: 77aa34099cfca74c11441909d074d1a01795db49 URL: http://source.winehq.org/git/wine.git/?a=commit;h=77aa34099cfca74c11441909d0...
Author: Henri Verbeet hverbeet@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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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; }