MCPcopy Create free account
hub / github.com/XorTroll/uLaunch / Dispose

Method Dispose

projects/uDesigner/source/main.cpp:301–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299 }
300
301 inline void Dispose() {
302 if(this->IsValid()) {
303 glDeleteTextures(1, &this->gl_tex);
304 this->gl_tex = 0;
305 this->width = 0;
306 this->height = 0;
307 }
308 }
309
310 inline void LoadFrom(void *img_data, const size_t img_data_size, const u32 custom_width, const u32 custom_height) {
311 int data_width;

Callers 1

LoadAsRawImageMethod · 0.80

Calls 1

IsValidMethod · 0.95

Tested by

no test coverage detected