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:
Henri Verbeet 2016-03-24 18:24:30 +01:00 committed by Alexandre Julliard
parent d71699141b
commit 38f921a8a9
1 changed files with 1 additions and 1 deletions

View File

@ -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. */ else /* surface_blt_fbo will load the source location if necessary. */
src_location = WINED3D_LOCATION_TEXTURE_RGB; 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); surface, src_location, &rect, surface, dst_location, &rect);
} }