aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;