diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-02-06 12:14:25 -0500 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-02-06 12:20:38 -0500 |
commit | c6b22e7904ea945b38fce18a0e41d0835ec6945f (patch) | |
tree | 543dee3a7bcd4295fede792e0995e81414829864 | |
parent | 6424d34deb3adf068c17106094cca0898690e782 (diff) |
Implement some simple OpenGL ES 2.0 calls
-rw-r--r-- | src/library_gl.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/library_gl.js b/src/library_gl.js index d19c7497..c4b113ee 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -354,11 +354,11 @@ var LibraryGL = { // Simple pass-through functions -[[0, 'shadeModel fogi fogfv getError'], - [1, 'clearDepth depthFunc enable disable frontFace cullFace clear enableVertexAttribArray disableVertexAttribArray'], - [2, 'pixelStorei vertexAttrib1f'], +[[0, 'shadeModel fogi fogfv getError finish flush'], + [1, 'clearDepth depthFunc enable disable frontFace cullFace clear enableVertexAttribArray disableVertexAttribArray lineWidth clearStencil depthMask stencilMask stencilMaskSeparate'], + [2, 'pixelStorei vertexAttrib1f depthRange polygonOffset'], [3, 'texParameteri texParameterf drawArrays vertexAttrib2f'], - [4, 'viewport clearColor scissor vertexAttrib3f'], + [4, 'viewport clearColor scissor vertexAttrib3f colorMask'], [5, 'vertexAttrib4f'], [6, 'vertexAttribPointer']].forEach(function(data) { var num = data[0]; |