wined3d: Get rid of an unneeded context_release() in swapchain_init().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b7f0d3312e
commit
df0f07bfc5
|
@ -1055,7 +1055,6 @@ err:
|
|||
{
|
||||
if (swapchain->context[0])
|
||||
{
|
||||
context_release(swapchain->context[0]);
|
||||
context_destroy(device, swapchain->context[0]);
|
||||
swapchain->num_contexts = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue