summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--2d/shader.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/2d/shader.scm b/2d/shader.scm
index fb03439..8c47cdc 100644
--- a/2d/shader.scm
+++ b/2d/shader.scm
@@ -220,10 +220,7 @@ location."
(register-uniform-setter! vector2?
(lambda (location v)
- ;; Use a vec4 instead of vec2 because it
- ;; seems to be a lot easier to deal with
- ;; vec4s.
- (glUniform4f location (vx v) (vy v) 0 0)))
+ (glUniform2f location (vx v) (vy v))))
(register-uniform-setter! transform?
(lambda (location t)