diff options
Diffstat (limited to 'src/library_gl.js')
-rw-r--r-- | src/library_gl.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/library_gl.js b/src/library_gl.js index 6b0a270f..f6fb2e27 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -1,6 +1,11 @@ //"use strict"; -// XXX FIXME Hardcoded '4' in many places, here and in library_SDL, for RGBA +// FIXME: +// * glGetUniformLocation should return -1 when the value is not valid, not null +// * glUniform1fi should be glUniform1iv +// * glGetAttribLocation lacks return value (and should be -1 when not valid) +// * single-underscore deps need double underscore (and, just auto-add them all) +// * glGetProgramInfoLog and *shader* should be essentially identical var LibraryGL = { $GL: { |