Fix build using clang-cl on windows and improve driver detection (#129)

This commit is contained in:
Jun Bo Bi 2022-09-04 17:15:40 -04:00 committed by GitHub
parent 4ed18a65c3
commit a54a3ec74e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 32 additions and 9 deletions

View file

@ -378,7 +378,7 @@ void OpenGLRenderer::GetVendorInformation()
forceLog_printf("GL_RENDERER: %s", glRendererString ? glRendererString : "unknown");
forceLog_printf("GL_VERSION: %s", glVersionString ? glVersionString : "unknown");
if(boost::icontains(glVersionString, "Mesa") || IsRunningInWine())
if(boost::icontains(glVersionString, "Mesa"))
{
m_vendor = GfxVendor::Mesa;
return;