summaryrefslogtreecommitdiff
path: root/2d/window.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@member.fsf.org>2013-08-26 22:09:45 -0400
committerDavid Thompson <dthompson@member.fsf.org>2013-08-26 22:09:45 -0400
commit95d31ad231800026e7b0a44ddda42c584dad5671 (patch)
treed76e718c37f3ee40fc1737d1fb58eef7717ff847 /2d/window.scm
parentcaec8d997059507b9a3eef497ad0508a2c6073d9 (diff)
Make the origin the top-left corner of the window again.
Diffstat (limited to '2d/window.scm')
-rw-r--r--2d/window.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/2d/window.scm b/2d/window.scm
index de824d8..9c863f6 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 0 height -1 1)
+ (gl-ortho 0 width height 0 -1 1)
(set-gl-matrix-mode (matrix-mode modelview))
(gl-load-identity)
;; Enable texturing and alpha blending