diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-03 14:13:15 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-03 14:13:15 -0700 |
commit | a36b2d077fa8c6a830a36d8d9921bf5871236f76 (patch) | |
tree | 025ec76b54e8ab94a46c6870167cc53a932b5a7e /src | |
parent | b847d170b41dc3679080b2e9a10fff1493be3381 (diff) |
remove nonexisting glUniformNfi funcs
Diffstat (limited to 'src')
-rw-r--r-- | src/library_gl.js | 28 |
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; |