(texture)
| 3728 | } |
| 3729 | |
| 3730 | _deleteFramebufferTexture(texture) { |
| 3731 | this.flushDraw(); |
| 3732 | const handle = texture.rawTexture(); |
| 3733 | if (handle.texture && handle.texture.destroy) { |
| 3734 | const tex = handle.texture; |
| 3735 | this._postSubmitCallbacks.push(() => tex.destroy()); |
| 3736 | } |
| 3737 | this.textures.delete(texture); |
| 3738 | } |
| 3739 | |
| 3740 | deleteFramebufferTextures(framebuffer) { |
| 3741 | this._deleteFramebufferTexture(framebuffer.color) |
no test coverage detected