diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 9670d6efdd..13eb415325 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -852,6 +852,7 @@ static void context_update_window(struct wined3d_context *context) context->valid = 1; context->win_handle = context->swapchain->win_handle; + context->needs_set = 1; if (!(context->hdc = GetDC(context->win_handle))) { @@ -859,8 +860,6 @@ static void context_update_window(struct wined3d_context *context) goto err; } - context_set_gl_context(context); - return; err: