summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-10-11 22:49:16 -0400
committerDavid Thompson <dthompson2@worcester.edu>2020-10-11 22:49:16 -0400
commitd1920623156a2c35a2801be86398bae5674c64b7 (patch)
tree96b3e01c38088bdfffaaa88b69bb96d45699b37c
parentab8564c1d60c1e8d52baee5d73d56ad007efe3a1 (diff)
graphics: Fix argument order in gpu-apply and gpu-apply/instanced.
-rw-r--r--chickadee/graphics.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chickadee/graphics.scm b/chickadee/graphics.scm
index 1a2917f..4cc21a4 100644
--- a/chickadee/graphics.scm
+++ b/chickadee/graphics.scm
@@ -188,7 +188,7 @@
(render-vertices vertex-array #:count count #:offset offset)))
(define-syntax-rule (gpu-apply shader vertex-array uniforms ...)
- (gpu-apply* shader vertex-array #f 0 uniforms ...))
+ (gpu-apply* shader vertex-array 0 #f uniforms ...))
(define-syntax-rule (gpu-apply/instanced* shader vertex-array offset count instances .
uniforms)
@@ -198,4 +198,4 @@
(define-syntax-rule (gpu-apply/instanced shader vertex-array instances
uniforms ...)
- (gpu-apply/instanced* shader vertex-array #f 0 instances uniforms ...))
+ (gpu-apply/instanced* shader vertex-array 0 #f instances uniforms ...))