summaryrefslogtreecommitdiff
path: root/2d/game.scm
diff options
context:
space:
mode:
Diffstat (limited to '2d/game.scm')
-rw-r--r--2d/game.scm7
1 files changed, 1 insertions, 6 deletions
diff --git a/2d/game.scm b/2d/game.scm
index 21bad86..b66f2ea 100644
--- a/2d/game.scm
+++ b/2d/game.scm
@@ -71,12 +71,7 @@
"Render a frame."
(let ((width (signal-ref window-width))
(height (signal-ref window-height)))
- (gl-viewport 0 0 width height)
- (set-gl-matrix-mode (matrix-mode projection))
- (gl-load-identity)
- (gl-ortho 0 width height 0 -1 1))
- (set-gl-matrix-mode (matrix-mode modelview))
- (gl-load-identity)
+ (gl-viewport 0 0 width height))
(gl-clear (clear-buffer-mask color-buffer depth-buffer))
(run-hook draw-hook dt alpha)
(SDL:gl-swap-buffers))