mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 901002 - Add Windows 8.1 to the OS list for gfx driver blacklisting. r=bas
This commit is contained in:
parent
d09ebefb80
commit
f798a11702
@ -246,7 +246,8 @@ public:
|
||||
kWindowsServer2003 = 0x50002,
|
||||
kWindowsVista = 0x60000,
|
||||
kWindows7 = 0x60001,
|
||||
kWindows8 = 0x60002
|
||||
kWindows8 = 0x60002,
|
||||
kWindows8_1 = 0x60003
|
||||
};
|
||||
|
||||
static int32_t WindowsOSVersion(int32_t *aBuildNum = nullptr);
|
||||
|
@ -758,6 +758,8 @@ WindowsVersionToOperatingSystem(int32_t aWindowsVersion)
|
||||
return DRIVER_OS_WINDOWS_7;
|
||||
case gfxWindowsPlatform::kWindows8:
|
||||
return DRIVER_OS_WINDOWS_8;
|
||||
case gfxWindowsPlatform::kWindows8_1:
|
||||
return DRIVER_OS_WINDOWS_8_1;
|
||||
case gfxWindowsPlatform::kWindowsUnknown:
|
||||
default:
|
||||
return DRIVER_OS_UNKNOWN;
|
||||
|
@ -35,6 +35,7 @@ enum OperatingSystem {
|
||||
DRIVER_OS_WINDOWS_VISTA,
|
||||
DRIVER_OS_WINDOWS_7,
|
||||
DRIVER_OS_WINDOWS_8,
|
||||
DRIVER_OS_WINDOWS_8_1,
|
||||
DRIVER_OS_LINUX,
|
||||
DRIVER_OS_OS_X_10_5,
|
||||
DRIVER_OS_OS_X_10_6,
|
||||
|
@ -211,6 +211,8 @@ BlacklistOSToOperatingSystem(const nsAString& os)
|
||||
return DRIVER_OS_WINDOWS_7;
|
||||
else if (os == NS_LITERAL_STRING("WINNT 6.2"))
|
||||
return DRIVER_OS_WINDOWS_8;
|
||||
else if (os == NS_LITERAL_STRING("WINNT 6.3"))
|
||||
return DRIVER_OS_WINDOWS_8_1;
|
||||
else if (os == NS_LITERAL_STRING("Linux"))
|
||||
return DRIVER_OS_LINUX;
|
||||
else if (os == NS_LITERAL_STRING("Darwin 9"))
|
||||
|
Loading…
Reference in New Issue
Block a user