mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
use RGN_OR
This commit is contained in:
parent
63033840d9
commit
490969356f
@ -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…
x
Reference in New Issue
Block a user