summaryrefslogtreecommitdiff
path: root/scripts/main.scm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/main.scm')
-rw-r--r--scripts/main.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/main.scm b/scripts/main.scm
index bccb72f..136c757 100644
--- a/scripts/main.scm
+++ b/scripts/main.scm
@@ -1,8 +1,16 @@
(define a 0)
(define b 0)
+(define update
+ (lambda ()
+ (set! a (+ a 1))
+ (set! b (rl-load-texture))
+ (display b)
+ (newline)
+ (gc-run)
+ ))
(define draw
(lambda ()
- (rl-draw-text)
+ (rl-draw-text (number->string a))
))