| 295 | constexpr ImageElement() : width(0), height(0), gl_tex(0) {} |
| 296 | |
| 297 | inline bool IsValid() const { |
| 298 | return (this->gl_tex != 0) && (this->width > 0) && (this->height > 0); |
| 299 | } |
| 300 | |
| 301 | inline void Dispose() { |
| 302 | if(this->IsValid()) { |
no outgoing calls
no test coverage detected