mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-31 02:04:10 +02:00
Revert "clear ddcaps"
This reverts commit a72a95baca439b492da95a0258b65fa83c329440.
This commit is contained in:
parent
85115cbf16
commit
a17896d154
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…
x
Reference in New Issue
Block a user