src/App.cpp
// returns a string representation of an OpenGL debug message severity level
returns a string representation of an OpenGL debug message severity level
returns a string representation of an OpenGL debug message severity level
static constexpr char const* OpenGLDebugSevToCStr(GLenum sev) noexcept
{
    switch (sev) {
    case GL_DEBUG_SEVERITY_HIGH: return "GL_DEBUG_SEVERITY_HIGH";
    case GL_DEBUG_SEVERITY_MEDIUM: return "GL_DEBUG_SEVERITY_MEDIUM";
    case GL_DEBUG_SEVERITY_LOW: return "GL_DEBUG_SEVERITY_LOW";
    case GL_DEBUG_SEVERITY_NOTIFICATION: return "GL_DEBUG_SEVERITY_NOTIFICATION";
    default: return "GL_DEBUG_SEVERITY_UNKNOWN";
    }
}
static constexpr char const * OpenGLDebugSevToCStr ( GLenum sev ) noexcept { switch ( sev ) { case GL_DEBUG_SEVERITY_HIGH : return " " ; case GL_DEBUG_SEVERITY_MEDIUM : return " " ; case GL_DEBUG_SEVERITY_LOW : return " " ; case GL_DEBUG_SEVERITY_NOTIFICATION : return " " ; default : return " " ; } }
returns a string representation of an OpenGL debug message severity level
returns a string representation of an OpenGL debug message severity level