diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-11-08 15:37:45 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-11-08 15:37:45 -0800 |
commit | a25e9721173dc072c5ab82b7084a6ebe3d24dec9 (patch) | |
tree | 2943f87a0fd477b972b64f3a3341f93356862099 /src/library_gl.js | |
parent | cca74d2500b1e05b2927b68a50345875bbe91eff (diff) | |
parent | 4259c8b65351ae91c5d8265fdb51b2b59073691b (diff) |
Merge pull request #1764 from juj/name_more_functions
Add more names for functions that show up in Firefox profiler as anonymous.
Diffstat (limited to 'src/library_gl.js')
-rw-r--r-- | src/library_gl.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library_gl.js b/src/library_gl.js index 15eb0d52..ecb72f0f 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -285,7 +285,7 @@ var LibraryGL = { }, #if FULL_ES2 - calcBufLength: function(size, type, stride, count) { + calcBufLength: function calcBufLength(size, type, stride, count) { if (stride > 0) { return count * stride; // XXXvlad this is not exactly correct I don't think } @@ -295,7 +295,7 @@ var LibraryGL = { usedTempBuffers: [], - preDrawHandleClientVertexAttribBindings: function(count) { + preDrawHandleClientVertexAttribBindings: function preDrawHandleClientVertexAttribBindings(count) { GL.resetBufferBinding = false; var used = GL.usedTempBuffers; @@ -329,7 +329,7 @@ var LibraryGL = { } }, - postDrawHandleClientVertexAttribBindings: function() { + postDrawHandleClientVertexAttribBindings: function postDrawHandleClientVertexAttribBindings() { if (GL.resetBufferBinding) { Module.ctx.bindBuffer(Module.ctx.ARRAY_BUFFER, GL.buffers[GL.currArrayBuffer]); } |