diff options
-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 |