Henri Verbeet : wined3d: Get resource info from the texture in surface_copy_simple_location().
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Mar 25 10:00:38 CDT 2016
Module: wine
Branch: master
Commit: 484f5f1ec5caa8e38ee5e6f721a25c7afbc58f43
URL: http://source.winehq.org/git/wine.git/?a=commit;h=484f5f1ec5caa8e38ee5e6f721a25c7afbc58f43
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Mar 24 18:24:27 2016 +0100
wined3d: Get resource info from the texture in surface_copy_simple_location().
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 4f1c379..b4e667f 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -2956,7 +2956,7 @@ static DWORD resource_access_from_location(DWORD location)
static void surface_copy_simple_location(struct wined3d_surface *surface, DWORD location)
{
- struct wined3d_device *device = surface->resource.device;
+ struct wined3d_device *device = surface->container->resource.device;
struct wined3d_context *context;
const struct wined3d_gl_info *gl_info;
struct wined3d_bo_address dst, src;
More information about the wine-cvs
mailing list