MCPcopy Create free account
hub / github.com/OpenImageDebugger/OpenImageDebugger / ~GLTextRenderer

Method ~GLTextRenderer

src/visualization/gl_text_renderer.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 : text_prog{canvas}, canvas_{canvas}, atlas_{std::move(atlas)} {}
37
38GLTextRenderer::~GLTextRenderer() {
39 canvas_.glDeleteTextures(1, &text_tex);
40 canvas_.glDeleteBuffers(1, &text_vbo);
41}
42
43bool GLTextRenderer::initialize() {
44 if (!text_prog.create(shader::text_vert_shader,

Callers

nothing calls this directly

Calls 2

glDeleteTexturesMethod · 0.80
glDeleteBuffersMethod · 0.80

Tested by

no test coverage detected