aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library_gl.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library_gl.js b/src/library_gl.js
index e73ff776..9e4e073f 100644
--- a/src/library_gl.js
+++ b/src/library_gl.js
@@ -238,6 +238,10 @@ var LibraryGL = {
Module.ctx.disableVertexAttribArray(index);
},
+ glDrawArrays: function(mode, first, count) {
+ Module.ctx.drawArrays(mode, first, count);
+ },
+
glClearColor: function(red, green, blue, alpha) {
Module.ctx.clearColor(red, green, blue, alpha);
},