Open jpaoneMines opened 11 months ago
glfwWindowHint( GLFW_OPENGL_DEBUG_CONTEXT, GL_TRUE ); glEnable( GL_DEBUG_OUTPUT );
void debug_callback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar msg, const void params);
glDebugMessageCallback( debug_callback, nullptr ); glDebugMessageControl( GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE );
glfwWindowHint( GLFW_OPENGL_DEBUG_CONTEXT, GL_TRUE ); glEnable( GL_DEBUG_OUTPUT );
void debug_callback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar msg, const void params);
glDebugMessageCallback( debug_callback, nullptr ); glDebugMessageControl( GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE );