Fixed an interface cast in DD2->DD7 thunk.
This commit is contained in:
parent
df793bcb68
commit
50af4a381c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue