Commit 193ca794 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 40ef70eb
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment