aboutsummaryrefslogtreecommitdiff
path: root/src/webGLWorker.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-17 10:38:33 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-17 10:38:33 -0700
commitcd26981f4d08d95d99983efe3a2d954497713ca0 (patch)
tree4da0516d45731758254b59bfc90feb96adb0971b /src/webGLWorker.js
parent69c5dcbb2ed9e75994e45f592300ce17d7c76a1c (diff)
abort on readPixels in worker
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 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;