ddraw: Fix Thunk_IDirect3DDeviceImpl_2_GetCurrentViewport().

This commit is contained in:
Henri Verbeet 2009-01-20 10:00:20 +01:00 committed by Alexandre Julliard
parent b2d42ad665
commit ba771f0fac
1 changed files with 1 additions and 1 deletions

View File

@ -1964,7 +1964,7 @@ static HRESULT WINAPI
Thunk_IDirect3DDeviceImpl_2_GetCurrentViewport(IDirect3DDevice2 *iface,
IDirect3DViewport2 **Direct3DViewport2)
{
ICOM_THIS_FROM(IDirect3DDeviceImpl, IDirect3DDevice3, iface);
ICOM_THIS_FROM(IDirect3DDeviceImpl, IDirect3DDevice2, iface);
HRESULT hr;
TRACE_(ddraw_thunk)("(%p)->(%p) thunking to IDirect3DDevice3 interface.\n", This, Direct3DViewport2);
hr = IDirect3DDevice3_GetCurrentViewport(ICOM_INTERFACE(This, IDirect3DDevice3),