Commit 50af4a38 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Fixed an interface cast in DD2->DD7 thunk.

parent df793bcb
...@@ -216,7 +216,7 @@ IDirectDraw2Impl_CreateSurface(LPDIRECTDRAW2 This, LPDDSURFACEDESC pSDesc, ...@@ -216,7 +216,7 @@ IDirectDraw2Impl_CreateSurface(LPDIRECTDRAW2 This, LPDDSURFACEDESC pSDesc,
/* the LPDDSURFACEDESC -> LPDDSURFACEDESC2 conversion should be ok, /* the LPDDSURFACEDESC -> LPDDSURFACEDESC2 conversion should be ok,
* since the data layout is the same */ * since the data layout is the same */
hr = IDirectDraw7_CreateSurface(COM_INTERFACE_CAST(IDirectDrawImpl, hr = IDirectDraw7_CreateSurface(COM_INTERFACE_CAST(IDirectDrawImpl,
IDirectDraw, IDirectDraw2,
IDirectDraw7, IDirectDraw7,
This), This),
(LPDDSURFACEDESC2)pSDesc, &pSurface7, pUnkOuter); (LPDDSURFACEDESC2)pSDesc, &pSurface7, pUnkOuter);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment