aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulien.hamaide <julien.hamaide@fishingcactus.com>2012-02-09 02:56:24 +0100
committerjulien.hamaide <julien.hamaide@fishingcactus.com>2012-02-09 02:56:24 +0100
commit601ea58606e7767b1afc3346e0f3e35847e5acc8 (patch)
treeec7a98944479bf1f5a5d822d394e8a7450f7a8b9
parent4515a0e54e7d4df75f72bfa04784088912a101cc (diff)
Fix
-rw-r--r--src/library_gl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_gl.js b/src/library_gl.js
index 645efe58..67c3dce4 100644
--- a/src/library_gl.js
+++ b/src/library_gl.js
@@ -346,7 +346,7 @@ var LibraryGL = {
glBindFramebuffer_deps: ['$GL'],
glBindFramebuffer: function(target, framebuffer) {
- Module.ctx.bindFramebuffer(target, fb );
+ Module.ctx.bindFramebuffer(target, GL.hashtable("framebuffer").get(framebuffer));
},
glGenFramebuffers_deps: ['$GL'],