aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-18 17:31:24 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-18 17:31:24 -0700
commit688d5cbb21958a5f27e4ae14f40c5cb6e0eef3f1 (patch)
tree7226e98011e2da603037c82c0e2aa1034cd34cc3
parent275a2432935ac8b54ac1130bb3439a61d9cc2e56 (diff)
proxy lineWidth
-rw-r--r--src/webGLWorker.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webGLWorker.js b/src/webGLWorker.js
index 965e76b8..9de90a58 100644
--- a/src/webGLWorker.js
+++ b/src/webGLWorker.js
@@ -804,6 +804,9 @@ function WebGLWorker() {
this.colorMask = function(red, green, blue, alpha) {
commandBuffer.push('colorMask', 4, red, green, blue, alpha);
};
+ this.lineWidth = function(width) {
+ commandBuffer.push('lineWidth', 1, width);
+ };
this.createFramebuffer = function() {
var id = nextId++;
commandBuffer.push('createFramebuffer', -1, id);