aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-17 14:42:38 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-17 14:42:38 -0700
commit80bf1cbb1ce055d19937515cfced887f2a31ece6 (patch)
tree14eb827807ca40e61962f89ef660f401cc79c4a0 /src
parent1fe3fd56ffd0f67442638ba14d04ea655564e1ca (diff)
vertexAttrib4fv; enable proxied test_cubegeom_color2
Diffstat (limited to 'src')
-rw-r--r--src/webGLWorker.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webGLWorker.js b/src/webGLWorker.js
index fc133c0d..ff4d94f9 100644
--- a/src/webGLWorker.js
+++ b/src/webGLWorker.js
@@ -660,6 +660,9 @@ function WebGLWorker() {
this.uniformMatrix4fv = function(location, transpose, data) {
commandBuffer.push('uniformMatrix4fv', 3, location.id, transpose, new Float32Array(data));
};
+ this.vertexAttrib4fv = function(index, values) {
+ commandBuffer.push('vertexAttrib4fv', 2, index, new Float32Array(values));
+ };
this.createBuffer = function() {
var id = nextId++;
commandBuffer.push('createBuffer', -1, id);