diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-04-03 18:04:27 -0400 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-04-03 18:06:34 -0400 |
commit | 23b742cea50f3224a73a0446c0eac228100f75af (patch) | |
tree | 2b88761aabf6888db5d5c4cf63f1d99e3cdec642 | |
parent | f8a81e023a939826c527618838b5477191aebda5 (diff) |
Revert the offset change for byte array accesses
-rw-r--r-- | src/library_gl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_gl.js b/src/library_gl.js index 247f5cb7..eddf9b73 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -179,7 +179,7 @@ var LibraryGL = { result instanceof Int32Array || result instanceof Array) { for (var i = 0; i < result.length; ++i) { - {{{ makeSetValue('p', 'i*4', 'result[i] != 0', 'i8') }}}; + {{{ makeSetValue('p', 'i', 'result[i] != 0', 'i8') }}}; } } else if (result instanceof WebGLBuffer || result instanceof WebGLProgram || |