From b2057e1b62e0c5bfabc7acfa4c540b99313182dd Mon Sep 17 00:00:00 2001 From: BreadFish64 Date: Tue, 7 Apr 2020 11:56:06 -0500 Subject: [PATCH] android: disable OpenGL debug message again --- src/video_core/renderer_opengl/renderer_opengl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index 6b58b7e6ac..0d048e8c5f 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -1207,12 +1207,14 @@ 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); glDebugMessageCallback(DebugHandler, nullptr); } +#endif const char* gl_version{reinterpret_cast(glGetString(GL_VERSION))}; const char* gpu_vendor{reinterpret_cast(glGetString(GL_VENDOR))};