mirror of
https://github.com/reactos/reactos.git
synced 2024-08-02 17:40:58 +00:00
Fixing smaller bugs in Main_DirectDraw_GetAvailableVidMem, it is still buggi
svn path=/trunk/; revision=27078
This commit is contained in:
parent
779fdc743f
commit
7380e3282a
|
@ -205,15 +205,20 @@ Main_DirectDraw_GetAvailableVidMem(LPDIRECTDRAW7 iface, LPDDSCAPS2 ddscaps,
|
|||
_SEH_LEAVE;
|
||||
}
|
||||
|
||||
/* fixme
|
||||
if ( ddscaps->dwCaps2 & (DDSCAPS_BACKBUFFER | DDSCAPS_COMPLEX | DDSCAPS_FLIP |
|
||||
DDSCAPS_FRONTBUFFER | DDSCAPS_PALETTE | DDSCAPS_SYSTEMMEMORY |
|
||||
DDSCAPS_VISIBLE | DDSCAPS_WRITEONLY | DDSCAPS_OWNDC))
|
||||
|
||||
/* ddscaps->dwCaps2 & 0x01
|
||||
this flag is outdate and are
|
||||
set to 0 in ms dxsdk the name of
|
||||
this flag is DDSCAPS2_HARDWAREDEINTERLACE
|
||||
*/
|
||||
|
||||
if ( ddscaps->dwCaps2 & 0x01)
|
||||
{
|
||||
retVal = DDERR_INVALIDPARAMS;
|
||||
retVal = DDERR_INVALIDCAPS;
|
||||
_SEH_LEAVE;
|
||||
}
|
||||
|
||||
/* fixme
|
||||
if ( ddscaps->dwCaps3 & (DDSCAPS_BACKBUFFER | DDSCAPS_COMPLEX | DDSCAPS_FLIP |
|
||||
DDSCAPS_FRONTBUFFER | DDSCAPS_PALETTE | DDSCAPS_SYSTEMMEMORY |
|
||||
DDSCAPS_VISIBLE | DDSCAPS_WRITEONLY | DDSCAPS_OWNDC))
|
||||
|
|
Loading…
Reference in a new issue