summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-05-03 17:16:26 -0400
committerDavid Thompson <dthompson2@worcester.edu>2023-05-03 17:16:43 -0400
commit1dd76823c98ce5ee42488fdda79859553252be35 (patch)
treead74c164007c4053fca4f2d0a8a0bf3e80920cbd
parent73b44ca69521499ebea600aa9dbe208aa4ecb8e9 (diff)
graphics: engine: Remove keyword arg for graphics-engine-commit!
-rw-r--r--chickadee/graphics/engine.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chickadee/graphics/engine.scm b/chickadee/graphics/engine.scm
index e5b2d4d..a007c6e 100644
--- a/chickadee/graphics/engine.scm
+++ b/chickadee/graphics/engine.scm
@@ -287,10 +287,10 @@
(engine (current-graphics-engine)))
(hashq-set! (graphics-engine-variables engine) var value))
-(define* (graphics-engine-commit! #:optional (engine (current-graphics-engine)))
+(define (graphics-engine-commit!)
(array-list-for-each (lambda (id state)
(graphics-state-bind-maybe state))
- (graphics-engine-states engine)))
+ (graphics-engine-states (current-graphics-engine))))
(define* (graphics-engine-guard! obj #:optional
(engine (current-graphics-engine)))