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 9c3feea0..984c201e 100644
--- a/src/webGLWorker.js
+++ b/src/webGLWorker.js
@@ -719,6 +719,9 @@ function WebGLWorker() {
this.cullFace = function(depth) {
commandBuffer.push('cullFace', 1, depth);
};
+ this.readPixels = function(depth) {
+ abort('readPixels is impossible, we are async GL');
+ };
// Setup
var dropped = 0;