use RGN_OR
This commit is contained in:
parent
63033840d9
commit
490969356f
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ HRESULT ddc_SetClipList(IDirectDrawClipperImpl* This, LPRGNDATA lpClipList, DWOR
|
||||||
if (!region)
|
if (!region)
|
||||||
return DDERR_INVALIDCLIPLIST;
|
return DDERR_INVALIDCLIPLIST;
|
||||||
|
|
||||||
if (CombineRgn(This->region, region, This->region, RGN_XOR) == ERROR)
|
if (CombineRgn(This->region, region, This->region, RGN_OR) == ERROR)
|
||||||
{
|
{
|
||||||
DeleteObject(region);
|
DeleteObject(region);
|
||||||
DeleteObject(This->region);
|
DeleteObject(This->region);
|
||||||
|
|
Loading…
Reference in a new issue