Commit 77aa3409 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent fcbe8b7a
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment