From 4e6f31d4c443ff2e69366261e4ff48776011c42a Mon Sep 17 00:00:00 2001 From: Henrique Alves Date: Mon, 22 Apr 2024 19:56:32 +0300 Subject: MVP of bug --- scripts/main.scm | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'scripts') 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) + )) -- cgit v1.2.3