wined3d: Remove duplicated code.

This commit is contained in:
Markus Amsler 2006-12-01 00:10:16 +01:00 committed by Alexandre Julliard
parent e2881758a1
commit 3127eac2bd
1 changed files with 0 additions and 4 deletions

View File

@ -2486,10 +2486,6 @@ create_device_error:
IWineD3DSurface_Release(object->stencilBufferTarget);
object->stencilBufferTarget = NULL;
}
if (object->stencilBufferTarget != NULL) {
IWineD3DSurface_Release(object->stencilBufferTarget);
object->stencilBufferTarget = NULL;
}
HeapFree(GetProcessHeap(), 0, object);
*ppReturnedDeviceInterface = NULL;
return WINED3DERR_INVALIDCALL;