wined3d: Don't touch "ppSurface" on failure in IWineD3DDeviceImpl_CreateSurface().
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 17 Dec 2009 18:14:33 +0000 (19:14 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 18 Dec 2009 10:38:40 +0000 (11:38 +0100)
commit7fe3ab5a234893084724f2cd76885f8cffb3ba40
treedbbe54aea50646d13e19a3b6187050afcabbbe9d
parentaa305c4a244837950e292459b8db42e3a3ea65dc
wined3d: Don't touch "ppSurface" on failure in IWineD3DDeviceImpl_CreateSurface().

I originally kept these when adding surface_init() in
5f581975dcf83f4f32432137990c72c26b415e3b because the original code had them on
most error paths. However, this actually broke ddraw because it assumed we
don't touch "ppSurface" on errors. Just remove these since they're useless
anyway.
dlls/wined3d/device.c