26 case GL_DEBUG_TYPE_ERROR:
28 case GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR:
29 return (
"Deprecated Behaviour");
30 case GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR:
31 return (
"Undefined Behaviour");
32 case GL_DEBUG_TYPE_PORTABILITY:
33 return (
"Portability");
34 case GL_DEBUG_TYPE_PERFORMANCE:
35 return (
"Performance");
36 case GL_DEBUG_TYPE_MARKER:
38 case GL_DEBUG_TYPE_PUSH_GROUP:
39 return (
"Push Group");
40 case GL_DEBUG_TYPE_POP_GROUP:
42 case GL_DEBUG_TYPE_OTHER:
50 case GL_DEBUG_SEVERITY_HIGH:
52 case GL_DEBUG_SEVERITY_MEDIUM:
54 case GL_DEBUG_SEVERITY_LOW:
56 case GL_DEBUG_SEVERITY_NOTIFICATION:
58 return (
"notification");
64 case GL_DEBUG_SOURCE_API:
66 case GL_DEBUG_SOURCE_WINDOW_SYSTEM:
67 return (
"Window System");
68 case GL_DEBUG_SOURCE_SHADER_COMPILER:
69 return (
"Shader Compiler");
70 case GL_DEBUG_SOURCE_THIRD_PARTY:
71 return (
"Third Party");
72 case GL_DEBUG_SOURCE_APPLICATION:
73 return (
"Application");
74 case GL_DEBUG_SOURCE_OTHER:
80void inline APIENTRY
glDebugOutput(GLenum source, GLenum type,
unsigned int id, GLenum severity, GLsizei length,
81 const char* message,
const void* userParam) {
82 if (
id == 131169 ||
id == 131185 ||
id == 131218 ||
id == 131204)
#define ENGINE_LOG_INFO(...)
Definition: enginelogger.h:29
Definition: application.cpp:54
void APIENTRY glDebugOutput(GLenum source, GLenum type, unsigned int id, GLenum severity, GLsizei length, const char *message, const void *userParam)
Definition: glfwdebug.h:80
const char * ParseType(GLenum type)
Definition: glfwdebug.h:24
const char * ParseSeverity(GLenum severity)
Definition: glfwdebug.h:48
const char * ParseSource(GLenum source)
Definition: glfwdebug.h:62