diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-07 11:40:30 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-07 11:40:30 -0800 |
commit | c5172f9b41103c195260b4de96cba6b119b924c2 (patch) | |
tree | 7c537ebf985820d1573d3cb30c690ffa3584ba66 /src | |
parent | 0e074d8e6690bc4a6f6ed869bca1c0fbb5091682 (diff) |
gl comments
Diffstat (limited to 'src')
-rw-r--r-- | src/library_gl.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library_gl.js b/src/library_gl.js index ce5da3d4..e9ac76cf 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -2849,6 +2849,8 @@ var LibraryGL = { glShadeModel: function() { Runtime.warnOnce('TODO: glShadeModel') }, + // GLES2 emulation + glVertexAttribPointer__sig: 'viiiiii', glVertexAttribPointer: function(index, size, type, normalized, stride, ptr) { #if FULL_ES2 @@ -2921,11 +2923,13 @@ var LibraryGL = { }, // signatures of simple pass-through functions, see later + glActiveTexture__sig: 'vi', glCheckFramebufferStatus__sig: 'ii', glRenderbufferStorage__sig: 'viiii', // Open GLES1.1 compatibility + glGenFramebuffersOES : 'glGenFramebuffers', glGenRenderbuffersOES : 'glGenRenderbuffers', glBindFramebufferOES : 'glBindFramebuffer', |