Henri Verbeet : wined3d: Get resource info from the texture in surface_load_renderbuffer().

Alexandre Julliard julliard at wine.codeweavers.com
Fri Mar 25 10:00:38 CDT 2016


Module: wine
Branch: master
Commit: 38f921a8a966d7279a45c845fa60e34d7e77ea29
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=38f921a8a966d7279a45c845fa60e34d7e77ea29

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Mar 24 18:24:30 2016 +0100

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

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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




More information about the wine-cvs mailing list