summaryrefslogtreecommitdiff
path: root/servers/rendering_server.h
diff options
context:
space:
mode:
authorClay John <claynjohn@gmail.com>2022-10-27 09:59:27 -0700
committerGitHub <noreply@github.com>2022-10-27 09:59:27 -0700
commite1caa8797baf55d8f3fbb0b64313c4255228b809 (patch)
tree50766ce430beb33a2cd3e798b16aa82b752e54c9 /servers/rendering_server.h
parent2f2c138b4499ef0a070c13e5cc242946a8db155f (diff)
parentb6f44859d7ab5b128d71ce0d64b46b171b9357aa (diff)
Merge pull request #67043 from clayjohn/clip_children
Improve behaviour of clip_children by clipping to parent alpha value but still retaining parent color
Diffstat (limited to 'servers/rendering_server.h')
-rw-r--r--servers/rendering_server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/servers/rendering_server.h b/servers/rendering_server.h
index 6885d80301..3c6f46a985 100644
--- a/servers/rendering_server.h
+++ b/servers/rendering_server.h
@@ -1367,7 +1367,8 @@ public:
enum CanvasGroupMode {
CANVAS_GROUP_MODE_DISABLED,
- CANVAS_GROUP_MODE_OPAQUE,
+ CANVAS_GROUP_MODE_CLIP_ONLY,
+ CANVAS_GROUP_MODE_CLIP_AND_DRAW,
CANVAS_GROUP_MODE_TRANSPARENT,
};