wined3d: Get resource info from the texture in surface_load_renderbuffer().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d71699141b
commit
38f921a8a9
|
@ -3232,7 +3232,7 @@ static void surface_load_renderbuffer(struct wined3d_surface *surface, struct wi
|
|||
else /* surface_blt_fbo will load the source location if necessary. */
|
||||
src_location = WINED3D_LOCATION_TEXTURE_RGB;
|
||||
|
||||
surface_blt_fbo(surface->resource.device, context, WINED3D_TEXF_POINT,
|
||||
surface_blt_fbo(surface->container->resource.device, context, WINED3D_TEXF_POINT,
|
||||
surface, src_location, &rect, surface, dst_location, &rect);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue