| 33 | GladGLContext ctx; |
| 34 | |
| 35 | void drain_errors(const std::string_view &prefix) { |
| 36 | GLenum err; |
| 37 | while ((err = ctx.GetError()) != GL_NO_ERROR) { |
| 38 | BOOST_LOG(error) << "GL: "sv << prefix << ": ["sv << util::hex(err).to_string_view() << ']'; |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | tex_t::~tex_t() { |
| 43 | if (size() != 0) { |
nothing calls this directly
no test coverage detected