mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
fix(region): add missing breaks to process boolean switch
This commit is contained in:
parent
cdd3413a1b
commit
b05b987e73
1 changed files with 8 additions and 0 deletions
|
|
@ -122,24 +122,32 @@ void ProcessBooleanOperation(TSGrowableArray<SOURCE>* sourceArray, int32_t combi
|
|||
if ((~source->flags >> 1) & 0x1) {
|
||||
DeleteSourceRect(sourceArray, i);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case 3: {
|
||||
if (source->flags & 0x2) {
|
||||
DeleteSourceRect(sourceArray, i);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case 4: {
|
||||
if (source->flags & (0x1 | 0x2)) {
|
||||
DeleteSourceRect(sourceArray, i);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case 5: {
|
||||
if (source->flags & 0x1) {
|
||||
DeleteSourceRect(sourceArray, i);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue