Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
army8735 committed Jun 22, 2023
1 parent e3f69dc commit 4732828
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42208,9 +42208,9 @@
delete gl[i];
}
}
}

gl.bindTexture(gl.TEXTURE_2D, null); // gl.getExtension('WEBGL_lose_context').loseContext();
gl.bindTexture(gl.TEXTURE_2D, null); // gl.getExtension('WEBGL_lose_context').loseContext();
}

this.__ctx = gl = null;
var wr = this.__wasmRoot;
Expand Down
2 changes: 1 addition & 1 deletion index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/node/Root.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,9 +565,9 @@ class Root extends Dom {
delete gl[i];
}
}
gl.bindTexture(gl.TEXTURE_2D, null);
// gl.getExtension('WEBGL_lose_context').loseContext();
}
gl.bindTexture(gl.TEXTURE_2D, null);
// gl.getExtension('WEBGL_lose_context').loseContext();
this.__ctx = gl = null;
let wr = this.__wasmRoot;
if(wr) {
Expand Down

0 comments on commit 4732828

Please sign in to comment.