aboutsummaryrefslogtreecommitdiff
path: root/src/webGLWorker.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-18 13:24:40 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-18 13:24:40 -0700
commit79233a033a72d529e1d8096da24f86822fa5fce1 (patch)
treed59ebacabd3b5ae315ca4892ddde67e6ab024848 /src/webGLWorker.js
parent8e35be9d892a2ae44afd576265c00fc5bc34de59 (diff)
proxy pixelStorei
Diffstat (limited to 'src/webGLWorker.js')
-rw-r--r--src/webGLWorker.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webGLWorker.js b/src/webGLWorker.js
index 1d45ad05..7d293c54 100644
--- a/src/webGLWorker.js
+++ b/src/webGLWorker.js
@@ -771,6 +771,9 @@ function WebGLWorker() {
this.readPixels = function(depth) {
abort('readPixels is impossible, we are async GL');
};
+ this.pixelStorei = function(pname, param) {
+ commandBuffer.push('pixelStorei', 2, pname, param);
+ };
// Setup
var dropped = 0;