gsdx-ogl: disable useless Nvidia driver message

This commit is contained in:
Gregory Hainaut 2015-11-12 17:04:54 +01:00
parent d67ba015c5
commit ef3aa17025
1 changed files with 3 additions and 0 deletions

View File

@ -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