Posted on Oct 26, 2010 by
Helpful Ox
See line 151 of tdl/programs.js -
var program = loadProgram(gl, vertexShader, fragmentShader);
The function parameter "gl" is only available from a global scope.
So tdl.programs.loadProgram and tdl.programs.Program probably need to have a gl function parameter added ?
Comment #1
Posted on Oct 26, 2010 by Helpful OxActually there are more instances of this in other modules. Is it expected that gl be global ?
Comment #2
Posted on Jun 4, 2014 by Swift Catyes
Status: WontFix
Labels:
Type-Defect
Priority-Medium