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