summaryrefslogtreecommitdiffstats
path: root/virtual-programs
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2023-09-18 17:31:34 +0000
committerOmar Rizwan <omar@omar.website>2023-09-18 17:31:34 +0000
commit80f3fc6efa21ddb8d8fc92bfaf6d6b9be1be66e6 (patch)
treeef9dfb38f3b6778e9a66d5849a593452bf7f3370 /virtual-programs
parentdisplay: Fix text orientation, remove dupe code from Gpu (diff)
downloadfolk-80f3fc6efa21ddb8d8fc92bfaf6d6b9be1be66e6.tar.gz
folk-80f3fc6efa21ddb8d8fc92bfaf6d6b9be1be66e6.zip
display: debug cleanup
Diffstat (limited to 'virtual-programs')
-rw-r--r--virtual-programs/display.folk4
1 files changed, 2 insertions, 2 deletions
diff --git a/virtual-programs/display.folk b/virtual-programs/display.folk
index 08d617c3..1a6246fe 100644
--- a/virtual-programs/display.folk
+++ b/virtual-programs/display.folk
@@ -167,7 +167,7 @@ On process {
[list [+ $x $right] [- $y $top]] \
[list [+ $x $right] [- $y $bottom]] \
[list [+ $x $left] [- $y $bottom]]]
- stroke $quad 10 red
+ # stroke $quad 10 red
Gpu::draw $glyph $fontAtlas $fontAtlasSize \
$atlasBounds {*}$quad
}
@@ -223,7 +223,7 @@ On process {
set renderTime [baretime {
Display::start
Display::text 100 100 1.0 "Hello, pworld!" 0
- Display::stroke {{100 100} {400 100}} 4 red
+ # Display::stroke {{100 100} {400 100}} 4 red
foreach command $displayCommands { {*}$command }
Display::end
}]