diff options
author | Anthony Liot <anthony.liot@gmail.com> | 2014-02-17 23:20:11 +0100 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2014-02-19 17:42:57 +0200 |
commit | 6a84be7c0c32ec08d3444b23983d34938affc93e (patch) | |
tree | 0542f0ac0320145167242a2f7cdfd18b8c93a262 /src | |
parent | b5e4175ddd42a0e1d3ca3281c9a2aa1d17ee099e (diff) |
Change ASSERTION by GL_ASSERTIONS
Diffstat (limited to 'src')
-rw-r--r-- | src/library_gl.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/library_gl.js b/src/library_gl.js index 027f3ada..2cca7064 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -1801,17 +1801,17 @@ var LibraryGL = { }, #if LEGACY_GL_EMULATION - glGenVertexArrays__deps: ['emulGlGenVertexArrays'], + glGenVertexArrays__deps: ['$Browser', '$GL', '$GLEmulation','emulGlGenVertexArrays'], #endif glGenVertexArrays__sig: 'vii', glGenVertexArrays: function (n , arrays) { #if LEGACY_GL_EMULATION if (GL.vaoExt == null) { - _emulGlGenVertexArrays(n , arrays); + GLImmediate.emulGlGenVertexArrays(n , arrays); return; } #else -#if ASSERTIONS +#if GL_ASSERTIONS assert(GL.vaoExt, 'Must have OES_vertex_array_object to use vao'); #endif #endif @@ -1826,17 +1826,17 @@ var LibraryGL = { }, #if LEGACY_GL_EMULATION - glDeleteVertexArrays__deps: ['emulGlDeleteVertexArrays'], + glDeleteVertexArrays__deps: ['$Browser', '$GL', '$GLEmulation','emulGlDeleteVertexArrays'], #endif glDeleteVertexArrays__sig: 'vii', glDeleteVertexArrays: function(n, vaos) { #if LEGACY_GL_EMULATION if (GL.vaoExt == null) { - _emulGlDeleteVertexArrays(n , vaos); + GLImmediate.emulGlDeleteVertexArrays(n , vaos); return; } #else -#if ASSERTIONS +#if GL_ASSERTIONS assert(GL.vaoExt, 'Must have OES_vertex_array_object to use vao'); #endif #endif @@ -1849,17 +1849,17 @@ var LibraryGL = { }, #if LEGACY_GL_EMULATION - glBindVertexArray__deps: ['emulGlBindVertexArray'], + glBindVertexArray__deps: ['$Browser', '$GL', '$GLEmulation','emulGlBindVertexArray'], #endif glBindVertexArray__sig: 'vi', glBindVertexArray: function(vao) { #if LEGACY_GL_EMULATION if (GL.vaoExt == null) { - _emulGlBindVertexArray(vao); + GLImmediate.emulGlBindVertexArray(vao); return; } #else -#if ASSERTIONS +#if GL_ASSERTIONS assert(GL.vaoExt, 'Must have OES_vertex_array_object to use vao'); #endif #endif @@ -1868,16 +1868,16 @@ var LibraryGL = { }, #if LEGACY_GL_EMULATION - glIsVertexArray__deps: ['emulGlIsVertexArray'], + glIsVertexArray__deps: ['$Browser', '$GL', '$GLEmulation','emulGlIsVertexArray'], #endif glIsVertexArray__sig: 'ii', glIsVertexArray: function(array) { #if LEGACY_GL_EMULATION if (GL.vaoExt == null) { - return _emulGlIsVertexArray(array); + return GLImmediate.emulGlIsVertexArray(array); } #else -#if ASSERTIONS +#if GL_ASSERTIONS assert(GL.vaoExt, 'Must have OES_vertex_array_object to use vao'); #endif #endif |