Index properly in clearErrors
vidartf opened this issue · 4 comments
vidartf commented
I assume this line needs indexing:
for (var ii = 0; ii < k.length; ++ii) {
- delete glErrorShadow_[k];
+ delete glErrorShadow_[k[ii]];
}
zhenyao commented
Right. Thanks for catching this. Can you upload a pull request to fix it?
vidartf commented
Submitted in #5. Just wasn't sure if this was the right place to submit it, since the major commit says this is a copy of content from another repository.
zhenyao commented
@kenrussell Do you know if we can directly modify this or we need to update an upstream repo?
kenrussell commented
Sorry for the delay replying. This repository can be updated directly. It's pulled in to KhronosGroup/WebGL as a git submodule.