src/App.cpp
// returns a string representation of an OpenGL debug message source
returns a string representation of an OpenGL debug message source
returns a string representation of an OpenGL debug message source
static constexpr char const* OpenGLDebugSrcToCStr(GLenum src) noexcept
{
    switch (src) {
    case GL_DEBUG_SOURCE_API: return "GL_DEBUG_SOURCE_API";
    case GL_DEBUG_SOURCE_WINDOW_SYSTEM: return "GL_DEBUG_SOURCE_WINDOW_SYSTEM";
    case GL_DEBUG_SOURCE_SHADER_COMPILER: return "GL_DEBUG_SOURCE_SHADER_COMPILER";
    case GL_DEBUG_SOURCE_THIRD_PARTY: return "GL_DEBUG_SOURCE_THIRD_PARTY";
    case GL_DEBUG_SOURCE_APPLICATION: return "GL_DEBUG_SOURCE_APPLICATION";
    case GL_DEBUG_SOURCE_OTHER: return "GL_DEBUG_SOURCE_OTHER";
    default: return "GL_DEBUG_SOURCE_UNKNOWN";
    }
}
static constexpr char const * OpenGLDebugSrcToCStr ( GLenum src ) noexcept { switch ( src ) { case GL_DEBUG_SOURCE_API : return " " ; case GL_DEBUG_SOURCE_WINDOW_SYSTEM : return " " ; case GL_DEBUG_SOURCE_SHADER_COMPILER : return " " ; case GL_DEBUG_SOURCE_THIRD_PARTY : return " " ; case GL_DEBUG_SOURCE_APPLICATION : return " " ; case GL_DEBUG_SOURCE_OTHER : return " " ; default : return " " ; } }
returns a string representation of an OpenGL debug message source
returns a string representation of an OpenGL debug message source