ddraw: Do not set lpSurface in GetSurfaceDesc.
commit9bb5b00dd5ee0c49fafeac044a31b86602804825
authorStefan Dösinger <stefan@codeweavers.com>
Tue, 19 Aug 2014 12:20:29 +0000 (19 14:20 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 19 Aug 2014 12:50:17 +0000 (19 14:50 +0200)
treeb6aae3f2068f15d3a2b29217d722131eb50c04bf
parent61ee3323ad5eb9b01dc5415374d12d990b5ba500
ddraw: Do not set lpSurface in GetSurfaceDesc.

This reverts a5c484cbf3948ec824e990503f798d3333ff55fb. The test included
in a5c484cb is wrong and contains a typo that leads to incorrect
assumptions. The Dungeon Keeper 2 crash that was the reason for patch
a5c484cb is fixed properly by the previous patch.
dlls/ddraw/surface.c
dlls/ddraw/tests/ddraw1.c
dlls/ddraw/tests/ddraw2.c
dlls/ddraw/tests/ddraw4.c
dlls/ddraw/tests/ddraw7.c
dlls/ddraw/tests/dsurface.c