Commit 088dd728 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

wined3d: Call context_enter() before context_update_window() so it records the…

wined3d: Call context_enter() before context_update_window() so it records the proper restore state.
parent de0c46fd
......@@ -3000,9 +3000,9 @@ struct wined3d_context *context_acquire(const struct wined3d_device *device, str
context = swapchain_get_context(device->swapchains[0]);
}
context_enter(context);
context_update_window(context);
context_setup_target(context, target);
context_enter(context);
if (!context->valid) return context;
if (context != current_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