summaryrefslogtreecommitdiff
path: root/3d/rigidbody/dist/output.js
diff options
context:
space:
mode:
Diffstat (limited to '3d/rigidbody/dist/output.js')
-rw-r--r--3d/rigidbody/dist/output.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/3d/rigidbody/dist/output.js b/3d/rigidbody/dist/output.js
index e2fe7b4..28d7b0b 100644
--- a/3d/rigidbody/dist/output.js
+++ b/3d/rigidbody/dist/output.js
@@ -2474,6 +2474,8 @@ var ASM_CONSTS = {
GLctx.currentElementArrayBufferBinding = ibo ? (ibo.name | 0) : 0;
}
+ function _glBlendFunc(x0, x1) { GLctx['blendFunc'](x0, x1) }
+
function _glBufferData(target, size, data, usage) {
if (GL.currentContext.version >= 2) { // WebGL 2 provides new garbage-free entry points to call to WebGL. Use those always when possible.
@@ -2965,6 +2967,7 @@ var asmLibraryArg = {
"glAttachShader": _glAttachShader,
"glBindBuffer": _glBindBuffer,
"glBindVertexArray": _glBindVertexArray,
+ "glBlendFunc": _glBlendFunc,
"glBufferData": _glBufferData,
"glClear": _glClear,
"glClearColor": _glClearColor,