From 48d83a6b66a5e702ecdb5bd5d507d4916b306c15 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 17 Aug 2013 22:28:17 -0400 Subject: Change origin to bottom-left corner of window. --- 2d/window.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '2d/window.scm') diff --git a/2d/window.scm b/2d/window.scm index 9c863f6..de824d8 100644 --- a/2d/window.scm +++ b/2d/window.scm @@ -45,7 +45,7 @@ initializes OpenGL state." (gl-viewport 0 0 width height) (set-gl-matrix-mode (matrix-mode projection)) (gl-load-identity) - (gl-ortho 0 width height 0 -1 1) + (gl-ortho 0 width 0 height -1 1) (set-gl-matrix-mode (matrix-mode modelview)) (gl-load-identity) ;; Enable texturing and alpha blending -- cgit v1.2.3