summaryrefslogtreecommitdiff
path: root/examples/model.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-09-01 09:00:01 -0400
committerDavid Thompson <dthompson2@worcester.edu>2023-11-08 21:35:34 -0500
commit1425a0dc73f7fa37612b7a82f090e9b10ddebf25 (patch)
tree97de459a6b021c7abb04944cdde512efe5909bd4 /examples/model.scm
parentd969c19756227899b39967989fa971fa3452e872 (diff)
First pass of rendering engine rewrite.
The (chickadee graphics gpu) module now handles most of the low-level OpenGL object creation/deletion/binding. The (chickadee graphics engine) module handles the with-graphics-state stuff via a render context object. There's lots of stuff that isn't great, but it's the first step towards a graphics backend agnostic rendering layer.
Diffstat (limited to 'examples/model.scm')
-rw-r--r--examples/model.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/model.scm b/examples/model.scm
index 4fa42c7..35aceb5 100644
--- a/examples/model.scm
+++ b/examples/model.scm
@@ -26,7 +26,7 @@
(reset-position))
(define (draw alpha)
- (with-projection projection
+ (with-graphics-state ((projection projection))
(draw-model model
#:model-matrix model-matrix
#:view-matrix view-matrix