Kaydet (Commit) 320c6e5d authored tarafından Michael Meeks's avatar Michael Meeks Kaydeden (comit) Tor Lillqvist

tdf#94686: Disable all vendors except for AMD/ATI/Intel/NVIDIA for now

Change-Id: I769aa1e0645b36f8623187e2e485ad2c474914c1
Reviewed-on: https://gerrit.libreoffice.org/19222Reviewed-by: 's avatarTor Lillqvist <tml@collabora.com>
Tested-by: 's avatarTor Lillqvist <tml@collabora.com>
üst fb388407
......@@ -727,6 +727,14 @@ bool WinOpenGLDeviceInfo::isDeviceBlocked()
return true;
}
/* Anything that's exotic eg. VMWare / VirtualBox GL drivers
we're not interested in for now. */
if (maAdapterVendorID != GetDeviceVendor(wgl::VendorAMD) &&
maAdapterVendorID != GetDeviceVendor(wgl::VendorATI) &&
maAdapterVendorID != GetDeviceVendor(wgl::VendorIntel) &&
maAdapterVendorID != GetDeviceVendor(wgl::VendorNVIDIA))
return true;
return FindBlocklistedDeviceInList();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment