KhronosGroup/WebGLDeveloperTools

Index properly in clearErrors

vidartf opened this issue · 4 comments

I assume this line needs indexing:

for (var ii = 0; ii < k.length; ++ii) {
-    delete glErrorShadow_[k];
+    delete glErrorShadow_[k[ii]];
}

Right. Thanks for catching this. Can you upload a pull request to fix it?

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.

@kenrussell Do you know if we can directly modify this or we need to update an upstream repo?

Sorry for the delay replying. This repository can be updated directly. It's pulled in to KhronosGroup/WebGL as a git submodule.