mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1191404 - Update the comments to avoid confusion about what happens with blocklisting when the OS is unknown. No code change. r=milan
This commit is contained in:
parent
3ad3c28fb7
commit
a02e28186c
@ -719,9 +719,10 @@ GfxInfoBase::FindBlocklistedDeviceInList(const nsTArray<GfxDriverInfo>& info,
|
||||
uint32_t i = 0;
|
||||
for (; i < info.Length(); i++) {
|
||||
// Do the operating system check first, no point in getting the driver
|
||||
// info if we won't need to use it. Note we also catch and skips the
|
||||
// application version mismatches that would leave operating system
|
||||
// set to unknown.
|
||||
// info if we won't need to use it. If the OS of the system we are running
|
||||
// on is unknown, we still let DRIVER_OS_ALL catch and disable it;
|
||||
// if the OS of the downloadable entry is unknown, we skip the entry
|
||||
// as invalid.
|
||||
if (info[i].mOperatingSystem == DRIVER_OS_UNKNOWN ||
|
||||
(info[i].mOperatingSystem != DRIVER_OS_ALL &&
|
||||
info[i].mOperatingSystem != os))
|
||||
|
Loading…
Reference in New Issue
Block a user