summaryrefslogtreecommitdiff
path: root/starling/node-2d.scm
diff options
context:
space:
mode:
Diffstat (limited to 'starling/node-2d.scm')
-rw-r--r--starling/node-2d.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/starling/node-2d.scm b/starling/node-2d.scm
index cdf8af1..d54edf9 100644
--- a/starling/node-2d.scm
+++ b/starling/node-2d.scm
@@ -26,8 +26,8 @@
#:use-module (chickadee math matrix)
#:use-module (chickadee math rect)
#:use-module (chickadee math vector)
- #:use-module (chickadee graphics)
#:use-module (chickadee graphics color)
+ #:use-module (chickadee graphics engine)
#:use-module (chickadee graphics font)
#:use-module (chickadee graphics framebuffer)
#:use-module (chickadee graphics particles)
@@ -169,7 +169,7 @@
(begin
(when (target camera)
(follow-target camera))
- (with-viewport (viewport camera)
+ (with-graphics-state ((viewport (viewport camera)))
(with-projection (if (target camera)
(view-matrix camera)
(projection-matrix camera))