aboutsummaryrefslogtreecommitdiff
path: root/src/webGLWorker.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-18 14:23:38 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-18 14:23:38 -0700
commit6e0de86d972b7485dd24df2679e00490be19860a (patch)
treed18662d3c4d7b2e423d99d120d39b1bcd6e7af52 /src/webGLWorker.js
parentd25fa198549b20c194f3c96a172c8bfc58aa1943 (diff)
fake checkFramebufferStatus
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 dc68ea61..c7ebc7d6 100644
--- a/src/webGLWorker.js
+++ b/src/webGLWorker.js
@@ -807,6 +807,9 @@ function WebGLWorker() {
this.framebufferTexture2D = function(target, attachment, textarget, texture, level) {
commandBuffer.push('framebufferTexture2D', 5, target, attachment, textarget, texture ? texture.id : 0, level);
};
+ this.checkFramebufferStatus = function(target) {
+ return this.FRAMEBUFFER_COMPLETE; // XXX totally wrong
+ };
// Setup
var dropped = 0;