From 73abe46d531292271d96809cc862b86906e692d3 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 9 Jan 2018 09:03:06 -0500 Subject: Fix broken mouse Y coordinate inversion. * chickadee.scm (run-game): window-height is not a procedure! --- chickadee.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chickadee.scm') diff --git a/chickadee.scm b/chickadee.scm index 3c0e1c9..f847915 100644 --- a/chickadee.scm +++ b/chickadee.scm @@ -88,7 +88,7 @@ (define (invert-y y) ;; SDL's origin is the top-left, but our origin is the bottom ;; left so we need to invert Y coordinates that SDL gives us. - (- (window-height window) y)) + (- window-height y)) (define (process-event event) (cond ((quit-event? event) -- cgit v1.2.3