summaryrefslogtreecommitdiff
path: root/starling
diff options
context:
space:
mode:
Diffstat (limited to 'starling')
-rw-r--r--starling/kernel.scm2
-rw-r--r--starling/node-2d.scm2
2 files changed, 2 insertions, 2 deletions
diff --git a/starling/kernel.scm b/starling/kernel.scm
index b973947..1aed4f3 100644
--- a/starling/kernel.scm
+++ b/starling/kernel.scm
@@ -309,7 +309,7 @@
(define-method (render-tree (kernel <kernel>) alpha)
(let ((start-time (elapsed-time)))
- (with-graphics-state! ((viewport (default-viewport kernel)))
+ (with-graphics-state! ((g:viewport (default-viewport kernel)))
(clear-viewport)
(next-method))
(sdl2:swap-gl-window (window kernel))
diff --git a/starling/node-2d.scm b/starling/node-2d.scm
index af6e3bc..8ff7623 100644
--- a/starling/node-2d.scm
+++ b/starling/node-2d.scm
@@ -169,7 +169,7 @@
(begin
(when (target camera)
(follow-target camera))
- (with-graphics-state ((viewport (viewport camera)))
+ (with-graphics-state ((g:viewport (viewport camera)))
(with-projection (if (target camera)
(view-matrix camera)
(projection-matrix camera))