From 2c2163396b0aec16bc608e2c6c329e1b4f2e0a56 Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Fri, 13 Oct 2023 17:04:21 -0400 Subject: display,mask-tags,fill: Add layer support Only implemented minimum for mask-tags for now. --- virtual-programs/display/fill.folk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'virtual-programs/display') 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/ { -- cgit v1.2.3