aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-03 11:59:02 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-03 11:59:02 -0800
commitd3dcf0915b6b566bd492dc8473c0c4a24b2ba5b4 (patch)
tree5f771f5ac7ba45c04597d9f604dbe6a2e7699104 /src
parent519efb8e48baa01d4af89cb66dc060da18e439b2 (diff)
fix output in glGetFramebufferAttachmentParameteriv
Diffstat (limited to 'src')
-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 6575a911..075d7cb5 100644
--- a/src/library_gl.js
+++ b/src/library_gl.js
@@ -1704,7 +1704,7 @@ var LibraryGL = {
glGetFramebufferAttachmentParameteriv__sig: 'viiii',
glGetFramebufferAttachmentParameteriv: function(target, attachment, pname, params) {
var result = Module.ctx.getFramebufferAttachmentParameter(target, attachment, pname);
- {{{ makeSetValue('params', '0', 'params', 'i32') }}};
+ {{{ makeSetValue('params', '0', 'result', 'i32') }}};
},
glIsFramebuffer__sig: 'ii',