Closed leftnoodle closed 10 years ago
Doesn't return integer but returns [object WebGLUniformLocation]
This is by design/a compromise...
Since JS is typeless, you can freely assign 'objects' to 'int vars' (as long as you don't do anything int-ish with them) and pass them to glUniform etc.
Doesn't return integer but returns [object WebGLUniformLocation]