summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/main.scm16
1 files changed, 4 insertions, 12 deletions
diff --git a/scripts/main.scm b/scripts/main.scm
index 1900911..bccb72f 100644
--- a/scripts/main.scm
+++ b/scripts/main.scm
@@ -1,16 +1,8 @@
(define a 0)
(define b 0)
-(define (update)
- (set! a (+ a 1))
- (set! b (rl-load-texture "./assets/test.png"))
- ;; Not displaying the next lines makes the crash take longer to happen
- (display a)
- (newline)
- (display b)
- (newline)
- )
-(define (draw)
- (newline)
- )
+(define draw
+ (lambda ()
+ (rl-draw-text)
+ ))