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>
This commit is contained in:
Henri Verbeet 2016-03-14 17:02:14 +01:00 committed by Alexandre Julliard
parent fcbe8b7a79
commit 77aa34099c
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}