diff options
author | David Thompson <dthompson2@worcester.edu> | 2018-01-09 09:03:06 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2018-01-09 09:03:06 -0500 |
commit | 73abe46d531292271d96809cc862b86906e692d3 (patch) | |
tree | 880406249df7870d67c4624a1168004a1b157572 /chickadee.scm | |
parent | 2ff6e24c2ea70512782dea8a779d2257a663219a (diff) |
Fix broken mouse Y coordinate inversion.
* chickadee.scm (run-game): window-height is not a procedure!
Diffstat (limited to 'chickadee.scm')
-rw-r--r-- | chickadee.scm | 2 |
1 files changed, 1 insertions, 1 deletions
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) |