///////////////////////////////////////////////////////
| 111 | { |
| 112 | //////////////////////////////////////////////////////////// |
| 113 | GlScopedChecker::GlScopedChecker(const std::string_view file, const std::string_view expression, const unsigned int line) : |
| 114 | m_file(file), |
| 115 | m_expression(expression), |
| 116 | m_line(line) |
| 117 | { |
| 118 | if (const GLenum error = glGetError(); error != GL_NO_ERROR) |
| 119 | err() << "OpenGL error (" << error << ") detected during glCheck call" << std::endl; |
| 120 | } |
| 121 | |
| 122 | |
| 123 | //////////////////////////////////////////////////////////// |
nothing calls this directly
no outgoing calls
no test coverage detected