ddraw: Fix an incorrect iface->impl cast.
This commit is contained in:
parent
b2d25de6f7
commit
c0cc4d4219
|
@ -589,7 +589,7 @@ Thunk_IDirect3DDeviceImpl_1_SwapTextureHandles(IDirect3DDevice *iface,
|
|||
IDirect3DTexture *D3DTex1,
|
||||
IDirect3DTexture *D3DTex2)
|
||||
{
|
||||
ICOM_THIS_FROM(IDirect3DDeviceImpl, IDirect3DDevice2, iface);
|
||||
ICOM_THIS_FROM(IDirect3DDeviceImpl, IDirect3DDevice, iface);
|
||||
IDirectDrawSurfaceImpl *surf1 = ICOM_OBJECT(IDirectDrawSurfaceImpl, IDirect3DTexture, D3DTex1);
|
||||
IDirectDrawSurfaceImpl *surf2 = ICOM_OBJECT(IDirectDrawSurfaceImpl, IDirect3DTexture, D3DTex2);
|
||||
TRACE_(ddraw_thunk)("(%p)->(%p,%p) thunking to IDirect3DDevice2 interface.\n", This, surf1, surf2);
|
||||
|
|
Loading…
Reference in New Issue