From 96550a9405f692e9ae03bae11975511797360b03 Mon Sep 17 00:00:00 2001 From: goodusername123 <61405538+goodusername123@users.noreply.github.com> Date: Thu, 9 Nov 2023 09:00:14 -0600 Subject: [PATCH] Windows: Allow hardware acceleration in VMware --- widget/windows/GfxInfo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/widget/windows/GfxInfo.cpp b/widget/windows/GfxInfo.cpp index ae66e5feaae29..7d0e90eabc18a 100644 --- a/widget/windows/GfxInfo.cpp +++ b/widget/windows/GfxInfo.cpp @@ -1944,6 +1944,9 @@ nsresult GfxInfo::GetFeatureStatusImpl( !adapterVendorID.Equals( GfxDriverInfo::GetDeviceVendor(DeviceVendor::Qualcomm), nsCaseInsensitiveStringComparator) && + !adapterVendorID.Equals( + GfxDriverInfo::GetDeviceVendor(DeviceVendor::VMWare), + nsCaseInsensitiveStringComparator) && // FIXME - these special hex values are currently used in xpcshell tests // introduced by bug 625160 patch 8/8. Maybe these tests need to be // adjusted now that we're only whitelisting intel/ati/nvidia. @@ -1954,9 +1957,6 @@ nsresult GfxInfo::GetFeatureStatusImpl( if (adapterVendorID.Equals( GfxDriverInfo::GetDeviceVendor(DeviceVendor::MicrosoftHyperV), nsCaseInsensitiveStringComparator) || - adapterVendorID.Equals( - GfxDriverInfo::GetDeviceVendor(DeviceVendor::VMWare), - nsCaseInsensitiveStringComparator) || adapterVendorID.Equals( GfxDriverInfo::GetDeviceVendor(DeviceVendor::VirtualBox), nsCaseInsensitiveStringComparator)) {