Module: wine Branch: master Commit: 193ca794fc5e7ecfb8a692324f8bd05df74d79d0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=193ca794fc5e7ecfb8a692324f...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Fri Mar 4 00:05:21 2016 +0100
wined3d: Get resource info from the texture in context_restore().
Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/wined3d/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 2de56c2..f810706 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -1315,7 +1315,7 @@ void context_restore(struct wined3d_context *context, struct wined3d_surface *re if (context->current_rt != restore) { context_release(context); - context = context_acquire(restore->resource.device, restore); + context = context_acquire(restore->container->resource.device, restore); }
context_release(context);