mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Fix wrong syntax, missing file and non existing module in makefile. Thanks to Salamander and Usurp.
svn path=/trunk/; revision=17200
This commit is contained in:
parent
2cacd67bcc
commit
f276da4448
3 changed files with 2 additions and 3 deletions
|
@ -13,7 +13,6 @@
|
|||
<library>d3d8thk</library>
|
||||
<library>dxguid</library>
|
||||
<library>ole32</library>
|
||||
<library>dciman32</library>
|
||||
|
||||
<file>main.c</file>
|
||||
<file>regsvr.c</file>
|
||||
|
|
|
@ -86,7 +86,7 @@ HRESULT WINAPI Main_DirectDraw_SetDisplayMode (LPDIRECTDRAW7 iface, DWORD dwWidt
|
|||
IDirectDrawImpl* This = (IDirectDrawImpl*)iface;
|
||||
|
||||
// this only for exclusive mode
|
||||
if(!This->cooperative_level & DDSCL_EXCLUSIVE)
|
||||
if(!(This->cooperative_level & DDSCL_EXCLUSIVE))
|
||||
return DDERR_NOEXCLUSIVEMODE;
|
||||
|
||||
// change the resolution using normal WinAPI function
|
||||
|
|
|
@ -21,7 +21,7 @@ HRESULT WINAPI Main_DDrawSurface_Initialize (LPDIRECTDRAWSURFACE7 iface, LPDIREC
|
|||
if(sizeof(DDSURFACEDESC2) != pDDSD->dwSize)
|
||||
return DDERR_UNSUPPORTED;
|
||||
|
||||
if(!pDDSD->dwFlags & DDSD_CAPS)
|
||||
if(!(pDDSD->dwFlags & DDSD_CAPS))
|
||||
return DDERR_INVALIDPARAMS;
|
||||
|
||||
This->owner = (IDirectDrawImpl*)pDD;
|
||||
|
|
Loading…
Reference in a new issue