wined3d: Correctly destroy the adapter on format initialization failure in no3d mode.
commit1e25ff3cc4d015aa939ad49e334acb16d44e1b94
authorMatteo Bruni <mbruni@codeweavers.com>
Wed, 22 Jul 2020 17:00:54 +0000 (22 19:00 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 23 Jul 2020 20:30:48 +0000 (23 22:30 +0200)
tree98ad322913787e538d1f143261407aaa3bbe5496
parenta5ef9295bc4994b30dd702f708debb776ccf55ed
wined3d: Correctly destroy the adapter on format initialization failure in no3d mode.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/directx.c