Fixed an interface cast in DD2->DD7 thunk.

oldstable
Marcus Meissner 2001-01-15 20:20:50 +00:00 committed by Alexandre Julliard
parent df793bcb68
commit 50af4a381c
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ IDirectDraw2Impl_CreateSurface(LPDIRECTDRAW2 This, LPDDSURFACEDESC pSDesc,
/* the LPDDSURFACEDESC -> LPDDSURFACEDESC2 conversion should be ok,
* since the data layout is the same */
hr = IDirectDraw7_CreateSurface(COM_INTERFACE_CAST(IDirectDrawImpl,
IDirectDraw,
IDirectDraw2,
IDirectDraw7,
This),
(LPDDSURFACEDESC2)pSDesc, &pSurface7, pUnkOuter);