summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 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);