(image)
| 286 | } |
| 287 | |
| 288 | setOverlayTexture(image) { |
| 289 | if (this.textures.overlay) { |
| 290 | this.gl.deleteTexture(this.textures.overlay); |
| 291 | } |
| 292 | if (image) { |
| 293 | this.textures.overlay = this._createTexture(image); |
| 294 | } else { |
| 295 | this.textures.overlay = null; |
| 296 | } |
| 297 | } |
| 298 | |
| 299 | _updateCharacterAtlas(charset) { |
| 300 | if (this.currentCharset === charset) return; |
nothing calls this directly
no test coverage detected