android: disable OpenGL debug message again
This commit is contained in:
parent
54b8af1444
commit
b2057e1b62
1 changed files with 3 additions and 1 deletions
|
@ -1207,12 +1207,14 @@ VideoCore::ResultStatus RendererOpenGL::Init() {
|
||||||
if (!gladLoadGL()) {
|
if (!gladLoadGL()) {
|
||||||
return VideoCore::ResultStatus::ErrorBelowGL33;
|
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) {
|
if (GLAD_GL_KHR_debug) {
|
||||||
glEnable(GL_DEBUG_OUTPUT);
|
glEnable(GL_DEBUG_OUTPUT);
|
||||||
glDebugMessageCallback(DebugHandler, nullptr);
|
glDebugMessageCallback(DebugHandler, nullptr);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
const char* gl_version{reinterpret_cast<char const*>(glGetString(GL_VERSION))};
|
const char* gl_version{reinterpret_cast<char const*>(glGetString(GL_VERSION))};
|
||||||
const char* gpu_vendor{reinterpret_cast<char const*>(glGetString(GL_VENDOR))};
|
const char* gpu_vendor{reinterpret_cast<char const*>(glGetString(GL_VENDOR))};
|
||||||
|
|
Loading…
Reference in a new issue