Kaydet (Commit) 378f01f6 authored tarafından Michael Meeks's avatar Michael Meeks Kaydeden (comit) Andras Timar

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>
(cherry picked from commit 320c6e5d)
üst baac5c1f
...@@ -727,6 +727,14 @@ bool WinOpenGLDeviceInfo::isDeviceBlocked() ...@@ -727,6 +727,14 @@ bool WinOpenGLDeviceInfo::isDeviceBlocked()
return true; 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(); 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