summaryrefslogtreecommitdiffstats
path: root/virtual-programs/display
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2023-10-13 21:04:21 +0000
committerOmar Rizwan <omar@omar.website>2023-10-13 21:04:21 +0000
commit2c2163396b0aec16bc608e2c6c329e1b4f2e0a56 (patch)
treeab57e70a58b0a7aab78e665cfd24d0b4416a4607 /virtual-programs/display
parentimage: Actually fix cache math (diff)
downloadfolk-2c2163396b0aec16bc608e2c6c329e1b4f2e0a56.tar.gz
folk-2c2163396b0aec16bc608e2c6c329e1b4f2e0a56.zip
display,mask-tags,fill: Add layer support
Only implemented minimum for mask-tags for now.
Diffstat (limited to 'virtual-programs/display')
-rw-r--r--virtual-programs/display/fill.folk4
1 files changed, 2 insertions, 2 deletions
diff --git a/virtual-programs/display/fill.folk b/virtual-programs/display/fill.folk
index dd9e199d..52039661 100644
--- a/virtual-programs/display/fill.folk
+++ b/virtual-programs/display/fill.folk
@@ -16,9 +16,9 @@ When /someone/ wishes to draw a triangle with /...options/ {
When /someone/ wishes to draw a quad with /...options/ {
dict with options {
Wish the GPU draws pipeline "fillTriangle" with arguments \
- [list $p0 $p1 $p2 [getColor $color]]
+ [list $p0 $p1 $p2 [getColor $color]] layer $layer
Wish the GPU draws pipeline "fillTriangle" with arguments \
- [list $p0 $p1 $p3 [getColor $color]]
+ [list $p0 $p1 $p3 [getColor $color]] layer $layer
}
}
When /someone/ wishes to draw a polygon with /...options/ {