[PATCH 5/6] wined3d: Get resource info from the texture in surface_load_renderbuffer().
Henri Verbeet
hverbeet at codeweavers.com
Thu Mar 24 12:24:30 CDT 2016
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
dlls/wined3d/surface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index a7394f8..cab1451 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -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);
}
--
2.1.4
More information about the wine-patches
mailing list