mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
Fix some typo in Main_DirectDraw_QueryInterface
svn path=/trunk/; revision=31132
This commit is contained in:
parent
a1c2403f66
commit
4b25246719
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue