aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library_gl.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/library_gl.js b/src/library_gl.js
index aace0678..1ea8efc2 100644
--- a/src/library_gl.js
+++ b/src/library_gl.js
@@ -4047,7 +4047,10 @@ var LibraryGL = {
_glColor4f({{{ makeGetValue('p', '0', 'float') }}}, {{{ makeGetValue('p', '4', 'float') }}}, {{{ makeGetValue('p', '8', 'float') }}}, {{{ makeGetValue('p', '12', 'float') }}});
},
- glColor4ubv: function() { throw 'glColor4ubv not implemented' },
+ glColor4ubv__deps: ['glColor4ub'],
+ glColor4ubv: function(p) {
+ _glColor4ub({{{ makeGetValue('p', '0', 'i8') }}}, {{{ makeGetValue('p', '1', 'i8') }}}, {{{ makeGetValue('p', '2', 'i8') }}}, {{{ makeGetValue('p', '3', 'i8') }}});
+ },
glFogf: function(pname, param) { // partial support, TODO
switch(pname) {