(&mut self)
| 178 | |
| 179 | impl Drop for RawTexture { |
| 180 | fn drop(&mut self) { |
| 181 | unsafe { |
| 182 | self.gfx.state.gl.delete_texture(self.id); |
| 183 | |
| 184 | if self.gfx.state.current_texture.get() == Some(self.id) { |
| 185 | self.gfx.state.current_texture.set(None); |
| 186 | } |
| 187 | } |
| 188 | } |
| 189 | } |
nothing calls this directly
no outgoing calls
no test coverage detected