Closed jywarren closed 8 years ago
To run things like gl.getParameter(gl.MAX_RENDERBUFFER_SIZE);, I need access to the gl variable, but that's stuck in a local context. Can we append it to the canvas object so it can be accessed from outside when needed?
gl.getParameter(gl.MAX_RENDERBUFFER_SIZE);
gl
Ah! I see - it's in canvas._.gl -- thanks, closing!
canvas._.gl
To run things like
gl.getParameter(gl.MAX_RENDERBUFFER_SIZE);
, I need access to thegl
variable, but that's stuck in a local context. Can we append it to the canvas object so it can be accessed from outside when needed?