From afb0beb9ab7872ea402906af69704cbb3a4d6eaa Mon Sep 17 00:00:00 2001 From: degasus Date: Thu, 27 Apr 2017 19:59:25 +0200 Subject: [PATCH] OpenGL: Mute nvidia performance warning about stalling the GPU. They are right, our perf query implementation is terrible. But raising a warning makes it just even slower. --- Source/Core/VideoBackends/OGL/Render.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/Core/VideoBackends/OGL/Render.cpp b/Source/Core/VideoBackends/OGL/Render.cpp index 360bc76a70..d9edb74327 100644 --- a/Source/Core/VideoBackends/OGL/Render.cpp +++ b/Source/Core/VideoBackends/OGL/Render.cpp @@ -84,6 +84,11 @@ static void APIENTRY ErrorCallback(GLenum source, GLenum type, GLuint id, GLenum const char* s_source; const char* s_type; + // Performance - DualCore driver performance warning: + // DualCore application thread syncing with server thread + if (id == 0x200b0) + return; + switch (source) { case GL_DEBUG_SOURCE_API_ARB: