mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
Fixed an interface cast in DD2->DD7 thunk.
This commit is contained in:
parent
df793bcb68
commit
50af4a381c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue