Skip to content

Commit

Permalink
Windows: Allow hardware acceleration in VMware
Browse files Browse the repository at this point in the history
  • Loading branch information
goodusername123 authored Nov 9, 2023
1 parent 820d145 commit 96550a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions widget/windows/GfxInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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)) {
Expand Down

0 comments on commit 96550a9

Please sign in to comment.