Author: greatlrd
Date: Mon Dec 10 23:29:51 2007
New Revision: 31132
URL:
http://svn.reactos.org/svn/reactos?rev=31132&view=rev
Log:
Fix some typo in Main_DirectDraw_QueryInterface
Modified:
trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c
Modified: trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/Ddraw/dd…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c (original)
+++ trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c Mon Dec 10 23:29:51 2007
@@ -82,14 +82,14 @@
}
}
- This->lpVtbl = &DirectDraw2_Vtable;
+ This->lpVtbl = &DirectDraw4_Vtable;
*obj = This;
Main_DirectDraw_AddRef(This);
}
- else if (IsEqualGUID(&IID_IDirectDraw4, id))
- {
- if (This->lpVtbl != &DirectDraw4_Vtable)
+ else if (IsEqualGUID(&IID_IDirectDraw2, id))
+ {
+ if (This->lpVtbl != &DirectDraw2_Vtable)
{
This = internal_directdraw_int_alloc(This);
if (!This)