[PATCH 4/8] wined3d: Get resource info from the texture in surface_depth_blt_fbo().
Henri Verbeet
hverbeet at codeweavers.com
Mon Mar 14 11:02:14 CDT 2016
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
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;
}
--
2.1.4
More information about the wine-patches
mailing list