Fix some typo in Main_DirectDraw_QueryInterface

svn path=/trunk/; revision=31132
This commit is contained in:
Magnus Olsen 2007-12-10 20:29:51 +00:00
parent a1c2403f66
commit 4b25246719

View file

@ -82,14 +82,14 @@ Main_DirectDraw_QueryInterface (LPDDRAWI_DIRECTDRAW_INT This,
}
}
This->lpVtbl = &DirectDraw2_Vtable;
This->lpVtbl = &DirectDraw4_Vtable;
*obj = This;
Main_DirectDraw_AddRef(This);
}
else if (IsEqualGUID(&IID_IDirectDraw4, id))
else if (IsEqualGUID(&IID_IDirectDraw2, id))
{
if (This->lpVtbl != &DirectDraw4_Vtable)
if (This->lpVtbl != &DirectDraw2_Vtable)
{
This = internal_directdraw_int_alloc(This);
if (!This)