summaryrefslogtreecommitdiff
path: root/examples/2048
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-08-26 09:12:02 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-08-26 09:12:02 -0400
commitf8b48b550d5f167483a545f207ae053d8fa9d5dd (patch)
treec1577bdd721598dbe48d7b6ca3a21ad202a99471 /examples/2048
parenta0b33ff9274b0fb682e36a42e3aa70ce5581df7c (diff)
render: Reimplement OpenGL state machine manager.
The implementation is a bit cleaner, and it's a stepping stone towards render combinators. * sly/render/context.scm: Delete. * sly/render.scm: New file. * Makefile.am (SOURCES): Add it. Remove context.scm. * sly/game.scm (run-game-loop): Use new <graphics> type. * sly/render/model.scm (draw-model): Likewise. * sly/render/scene.scm (draw-scene): Likewise. * examples/2048/2048.scm: Remove (sly render context) import.
Diffstat (limited to 'examples/2048')
-rwxr-xr-xexamples/2048/2048.scm1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/2048/2048.scm b/examples/2048/2048.scm
index 043835b..97922de 100755
--- a/examples/2048/2048.scm
+++ b/examples/2048/2048.scm
@@ -35,7 +35,6 @@
(sly math vector)
(sly render camera)
(sly render color)
- (sly render context)
(sly render font)
(sly render model)
(sly render scene)