Destroy the texture
| 96 | |
| 97 | // Destroy the texture |
| 98 | void Texture2D::destroy() { |
| 99 | if (mID != 0) { |
| 100 | glDeleteTextures(1, &mID); |
| 101 | mID = 0; |
| 102 | mUnit = 0; |
| 103 | mWidth = 0; |
| 104 | mHeight = 0; |
| 105 | } |
| 106 | } |
nothing calls this directly
no outgoing calls
no test coverage detected