MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / Dispose

Method Dispose

Source/Graphics/text.cpp:878–884  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

876}
877
878void TextAtlas::Dispose() {
879 if (tex != -1) {
880 const GLuint gl_tex = tex;
881 glDeleteTextures(1, &gl_tex);
882 tex = -1;
883 }
884}
885
886TextAtlas::TextAtlas() : tex(-1) {
887 static const unsigned int kAsciiFirst = 0x20;

Callers 1

DisposeTextAtlasesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected