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:
Henri Verbeet 2017-02-28 06:12:01 +01:00 committed by Alexandre Julliard
parent b7f0d3312e
commit df0f07bfc5
1 changed files with 0 additions and 1 deletions

View File

@ -1055,7 +1055,6 @@ err:
{
if (swapchain->context[0])
{
context_release(swapchain->context[0]);
context_destroy(device, swapchain->context[0]);
swapchain->num_contexts = 0;
}