It's a bit of a hastle sending the arguments through several functions, but I couldn't think of any better way to do it.
This would be a breaking change as it drops the binding attribute since the createWebGLRenderingContext function now takes an interface (and doesn't return the binding). This could however be easily dodged by just adding a `binding variable, but that seems like bad practise.
Initialize the context in node by doing
It's a bit of a hastle sending the arguments through several functions, but I couldn't think of any better way to do it.
This would be a breaking change as it drops the
binding
attribute since thecreateWebGLRenderingContext
function now takes an interface (and doesn't return the binding). This could however be easily dodged by just adding a `binding variable, but that seems like bad practise.This change is