diff options
author | Antoine Lambert <antoine-e.lambert@thalesgroup.com> | 2013-12-17 13:07:34 +0100 |
---|---|---|
committer | Antoine Lambert <antoine-e.lambert@thalesgroup.com> | 2013-12-17 13:07:34 +0100 |
commit | aae95cc8bfbf9a5fdc08f417a5dc7d766486468f (patch) | |
tree | e462bdfe00b0ca7681b3f23b97b996d933d34418 /src/library_gl.js | |
parent | 6c0ea453a4a83636ab7abda7e7b689a87d5e87f2 (diff) |
use GL_ASSERTIONS instead of ASSERTIONS
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 f21bbf54..70221201 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -4967,7 +4967,7 @@ var LibraryGL = { glVertexAttribDivisor__sig: 'vii', glVertexAttribDivisor: function(index, divisor) { -#if ASSERTIONS +#if GL_ASSERTIONS assert(GL.instancedArraysExt, 'Must have ANGLE_instanced_arrays extension to use WebGL instancing'); #endif GL.instancedArraysExt.vertexAttribDivisorANGLE(index, divisor); @@ -4975,7 +4975,7 @@ var LibraryGL = { glDrawArraysInstanced_sig: 'viiii', glDrawArraysInstanced: function(mode, first, count, primcount) { -#if ASSERTIONS +#if GL_ASSERTIONS assert(GL.instancedArraysExt, 'Must have ANGLE_instanced_arrays extension to use WebGL instancing'); #endif GL.instancedArraysExt.drawArraysInstancedANGLE(mode, first, count, primcount); @@ -4983,7 +4983,7 @@ var LibraryGL = { glDrawElementsInstanced_sig: 'viiiii', glDrawElementsInstanced: function(mode, count, type, indices, primcount) { -#if ASSERTIONS +#if GL_ASSERTIONS assert(GL.instancedArraysExt, 'Must have ANGLE_instanced_arrays extension to use WebGL instancing'); #endif GL.instancedArraysExt.drawElementsInstancedANGLE(mode, count, type, indices, primcount); |