summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2017-01-19 09:28:36 -0500
committerDavid Thompson <dthompson2@worcester.edu>2017-01-19 09:30:18 -0500
commitaace6bb510656364cbd0dba02aea97a3c8d37e7f (patch)
tree5ffa174e6164a86ad6eedf335f383d3e8cd960fe
parent51d3c475e5c8d962b117a380f9ec58f313ca46f7 (diff)
render: shader: Restore ability to serialize color objects.
-rw-r--r--chickadee/render/shader.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chickadee/render/shader.scm b/chickadee/render/shader.scm
index 0b882d6..ddf2098 100644
--- a/chickadee/render/shader.scm
+++ b/chickadee/render/shader.scm
@@ -195,7 +195,7 @@
('float 0.0)
('float-vec2 (vec2 0.0 0.0))
;; ('float-vec3 (vector3 0.0 0.0 0.0))
- ;; ('float-vec4 (vector4 0.0 0.0 0.0 0.0))
+ ('float-vec4 (make-color 0.0 0.0 0.0 0.0))
;; ('int-vec2 (vector2 0 0))
;; ('int-vec3 (vector3 0 0 0))
;; ('int-vec4 (vector4 0 0 0 0))
@@ -211,7 +211,7 @@
('float set-float-uniform!)
('float-vec2 set-float-vector2-uniform!)
;; ('float-vec3 set-float-vector3-uniform!)
- ;; ('float-vec4 set-float-vector4-uniform!)
+ ('float-vec4 set-float-vector4-uniform!)
;; ('int-vec2 set-integer-vector2-uniform!)
;; ('int-vec3 set-integer-vector3-uniform!)
;; ('int-vec4 set-integer-vector4-uniform!)