1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

use RGN_OR

This commit is contained in:
FunkyFr3sh 2024-05-26 09:32:00 +02:00
parent 63033840d9
commit 490969356f

View File

@ -91,7 +91,7 @@ HRESULT ddc_SetClipList(IDirectDrawClipperImpl* This, LPRGNDATA lpClipList, DWOR
if (!region)
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(This->region);