wined3d: Call context_enter() before context_update_window() so it records the proper restore state.
This commit is contained in:
parent
de0c46fd52
commit
088dd7289c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue