diff --git a/src/GLDebug.h b/src/GLDebug.h index 254cd37..6de41ac 100644 --- a/src/GLDebug.h +++ b/src/GLDebug.h @@ -58,7 +58,12 @@ openglDebugCallback(GLenum source, const GLchar* message, const void* userParam) { - std::cout << ((type == GL_DEBUG_TYPE_ERROR) ? "Error" : "Debug") + // NOTE: filter out notification about using video memory for buffer object + if (id == 131185) + return; + + std::cout << "message id: " << id << ", " + << ((type == GL_DEBUG_TYPE_ERROR) ? "Error" : "Debug") << (type == GL_DEBUG_TYPE_ERROR ? "** GL Error **" : "") << ", type: " << glEnumToString(type) << ", severity: " << glEnumToString(severity)