summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2024-02-22 08:25:50 -0500
committerDavid Thompson <dthompson2@worcester.edu>2024-02-22 08:25:50 -0500
commitedb63be7ead0642ff43bab0898ecee4b5eb6173d (patch)
tree7b3a267f063e7b56b4778cf335601e6f627503d2 /examples
parentca62482f89261b0588c7cbc675e188f65054c8e9 (diff)
Fix text positioning on text example.
Diffstat (limited to 'examples')
-rw-r--r--examples/text.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/text.scm b/examples/text.scm
index be79edc..08be427 100644
--- a/examples/text.scm
+++ b/examples/text.scm
@@ -7,7 +7,7 @@
(define avg-frame-time 16.0)
(define stats-text "")
(define stats-position (vec2 4.0 704.0))
-(define position (vec2 140.0 0.0))
+(define position (vec2 160.0 240.0))
(define text "The quick brown fox jumps over the lazy dog.\nFive hexing wizard bots jump quickly.")
(define (stats-message)
@@ -40,6 +40,4 @@
#:key-press key-press
#:load load
#:update update
- #:window-title "text rendering"
- #:window-width 1280
- #:window-height 720)
+ #:window-title "text rendering")