add DDCAPS_CANBLTSYSMEM flag
This commit is contained in:
parent
1afa15bdba
commit
e37aa21ae5
1 changed files with 1 additions and 1 deletions
2
src/dd.c
2
src/dd.c
|
@ -158,7 +158,7 @@ HRESULT dd_GetCaps(LPDDCAPS lpDDDriverCaps, LPDDCAPS lpDDEmulCaps)
|
||||||
if (lpDDDriverCaps)
|
if (lpDDDriverCaps)
|
||||||
{
|
{
|
||||||
lpDDDriverCaps->dwSize = sizeof(DDCAPS);
|
lpDDDriverCaps->dwSize = sizeof(DDCAPS);
|
||||||
lpDDDriverCaps->dwCaps = DDCAPS_BLT | DDCAPS_PALETTE | DDCAPS_BLTCOLORFILL | DDCAPS_BLTSTRETCH | DDCAPS_CANCLIP;
|
lpDDDriverCaps->dwCaps = DDCAPS_BLT | DDCAPS_PALETTE | DDCAPS_BLTCOLORFILL | DDCAPS_BLTSTRETCH | DDCAPS_CANCLIP | DDCAPS_CANBLTSYSMEM;
|
||||||
lpDDDriverCaps->dwCKeyCaps = 0;
|
lpDDDriverCaps->dwCKeyCaps = 0;
|
||||||
lpDDDriverCaps->dwPalCaps = DDPCAPS_8BIT | DDPCAPS_PRIMARYSURFACE;
|
lpDDDriverCaps->dwPalCaps = DDPCAPS_8BIT | DDPCAPS_PRIMARYSURFACE;
|
||||||
lpDDDriverCaps->dwVidMemTotal = 16777216;
|
lpDDDriverCaps->dwVidMemTotal = 16777216;
|
||||||
|
|
Loading…
Reference in a new issue