analytics: Report OpenGL's adapter name too.

This commit is contained in:
Scott Mansell
2016-06-20 23:54:44 +12:00
parent 4dc316750a
commit d197f489b9
3 changed files with 10 additions and 0 deletions

View File

@ -404,6 +404,9 @@ Renderer::Renderer()
}
}
// Copy the GPU name to g_Config, so Analytics can see it.
g_Config.backend_info.AdapterName = g_ogl_config.gl_renderer;
g_Config.backend_info.bSupportsDualSourceBlend = GLExtensions::Supports("GL_ARB_blend_func_extended") ||
GLExtensions::Supports("GL_EXT_blend_func_extended");
g_Config.backend_info.bSupportsPrimitiveRestart = !DriverDetails::HasBug(DriverDetails::BUG_PRIMITIVERESTART) &&