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.
This commit is contained in:
degasus 2017-04-27 19:59:25 +02:00
parent 90d551e0d1
commit afb0beb9ab
1 changed files with 5 additions and 0 deletions

View File

@ -84,6 +84,11 @@ static void APIENTRY ErrorCallback(GLenum source, GLenum type, GLuint id, GLenum
const char* s_source; const char* s_source;
const char* s_type; const char* s_type;
// Performance - DualCore driver performance warning:
// DualCore application thread syncing with server thread
if (id == 0x200b0)
return;
switch (source) switch (source)
{ {
case GL_DEBUG_SOURCE_API_ARB: case GL_DEBUG_SOURCE_API_ARB: