android: disable OpenGL debug message again

This commit is contained in:
BreadFish64 2020-04-07 11:56:06 -05:00 committed by bunnei
parent 846e8f8d48
commit 57117ecaa0

View File

@ -1187,13 +1187,15 @@ VideoCore::ResultStatus RendererOpenGL::Init() {
if (!gladLoadGL()) {
return VideoCore::ResultStatus::ErrorBelowGL33;
}
#endif
// Qualcomm has some spammy info messages that are marked as errors but not important
// https://developer.qualcomm.com/comment/11845
if (GLAD_GL_KHR_debug) {
glEnable(GL_DEBUG_OUTPUT);
// glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS);
glDebugMessageCallback(DebugHandler, nullptr);
}
#endif
const char* gl_version{reinterpret_cast<char const*>(glGetString(GL_VERSION))};
const char* gpu_vendor{reinterpret_cast<char const*>(glGetString(GL_VENDOR))};