parent
85115cbf16
commit
a17896d154
1 changed files with 3 additions and 5 deletions
4
src/dd.c
4
src/dd.c
|
@ -153,8 +153,6 @@ HRESULT dd_GetCaps(LPDDCAPS lpDDDriverCaps, LPDDCAPS lpDDEmulCaps)
|
||||||
{
|
{
|
||||||
if(lpDDDriverCaps)
|
if(lpDDDriverCaps)
|
||||||
{
|
{
|
||||||
memset(lpDDDriverCaps, 0, sizeof(DDCAPS));
|
|
||||||
|
|
||||||
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;
|
||||||
lpDDDriverCaps->dwCKeyCaps = 0;
|
lpDDDriverCaps->dwCKeyCaps = 0;
|
||||||
|
@ -173,7 +171,7 @@ HRESULT dd_GetCaps(LPDDCAPS lpDDDriverCaps, LPDDCAPS lpDDEmulCaps)
|
||||||
|
|
||||||
if(lpDDEmulCaps)
|
if(lpDDEmulCaps)
|
||||||
{
|
{
|
||||||
memset(lpDDEmulCaps, 0, sizeof(DDCAPS));
|
lpDDEmulCaps->dwSize = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return DD_OK;
|
return DD_OK;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue