aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library_gl.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/library_gl.js b/src/library_gl.js
index 3b3ce6c4..f76cd117 100644
--- a/src/library_gl.js
+++ b/src/library_gl.js
@@ -1,7 +1,6 @@
//"use strict";
// FIXME:
-// * glUniform1fi should be glUniform1iv
// * single-underscore deps need double underscore (and, just auto-add them all)
// * glGetProgramInfoLog and *shader* should be essentially identical
// * glGetIntegerv set to bool etc needs fixing
@@ -466,33 +465,6 @@ var LibraryGL = {
Module.ctx.uniform4fv(Location, value);
},
- glUniform1fi: function(Location, count, value) {
- Location = GL.hashtable("uniform").get(Location);
- value = new Uint32Array(TypedArray_copy(value, count*4)); // TODO: optimize
- Module.ctx.uniform1fi(Location, value);
- },
-
- glUniform2fi: function(Location, count, value) {
- Location = GL.hashtable("uniform").get(Location);
- count *= 2;
- value = new Uint32Array(TypedArray_copy(value, count*4)); // TODO: optimize
- Module.ctx.uniform2fi(Location, value);
- },
-
- glUniform3fi: function(Location, count, value) {
- Location = GL.hashtable("uniform").get(Location);
- count *= 3;
- value = new Uint32Array(TypedArray_copy(value, count*4)); // TODO: optimize
- Module.ctx.uniform3fi(Location, value);
- },
-
- glUniform4fi: function(Location, count, value) {
- Location = GL.hashtable("uniform").get(Location);
- count *= 4;
- value = new Uint32Array(TypedArray_copy(value, count*4)); // TODO: optimize
- Module.ctx.uniform4fi(Location, value);
- },
-
glUniformMatrix2fv: function(Location, count, transpose, value) {
Location = GL.hashtable("uniform").get(Location);
count *= 4;