From ef3aa17025ef907e3851b8d03730dc4204a01dcb Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Thu, 12 Nov 2015 17:04:54 +0100 Subject: [PATCH] gsdx-ogl: disable useless Nvidia driver message --- plugins/GSdx/GSDeviceOGL.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/GSdx/GSDeviceOGL.cpp b/plugins/GSdx/GSDeviceOGL.cpp index 339e0977cd..6f2780b67d 100644 --- a/plugins/GSdx/GSDeviceOGL.cpp +++ b/plugins/GSdx/GSDeviceOGL.cpp @@ -204,6 +204,9 @@ bool GSDeviceOGL::Create(GSWnd* wnd) } if (glDebugMessageControl) { glDebugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, true); + // Useless info message on Nvidia driver + GLuint ids[] = {0x20004}; + glDebugMessageControl(GL_DEBUG_SOURCE_API_ARB, GL_DEBUG_TYPE_OTHER_ARB, GL_DONT_CARE, countof(ids), ids, false); } } #endif