summaryrefslogtreecommitdiff
path: root/2d/window.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@member.fsf.org>2013-08-17 22:28:17 -0400
committerDavid Thompson <dthompson@member.fsf.org>2013-08-17 22:28:17 -0400
commit48d83a6b66a5e702ecdb5bd5d507d4916b306c15 (patch)
tree93c6b8095fefa5560bb9010dab77ef3d565faf3d /2d/window.scm
parentf82ce14de5fe99d2571fdd66b291d36dc358527d (diff)
Change origin to bottom-left corner of window.
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 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