File tree 2 files changed +5
-4
lines changed 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ void gfxConfigManager::Init() {
60
60
#ifdef XP_WIN
61
61
DeviceManagerDx::Get ()->CheckHardwareStretchingSupport (mHwStretchingSupport );
62
62
mScaledResolution = HasScaledResolution ();
63
+ mIsWin8Point1OrLater = IsWin8Point1OrLater ();
63
64
mIsWin10OrLater = IsWin10OrLater ();
64
65
mIsWin11OrLater = IsWin11OrLater ();
65
66
mWrCompositorDCompRequired = true ;
@@ -262,11 +263,10 @@ void gfxConfigManager::ConfigureWebRender() {
262
263
" FEATURE_FAILURE_DCOMP_PREF_DISABLED" _ns);
263
264
}
264
265
265
- if (!mIsWin10OrLater ) {
266
- // XXX relax win version to windows 8.
266
+ if (!mIsWin8Point1OrLater ) {
267
267
mFeatureWrDComp ->Disable (FeatureStatus::Unavailable,
268
- " Requires Windows 10 or later" ,
269
- " FEATURE_FAILURE_DCOMP_NOT_WIN10 " _ns);
268
+ " Requires Windows 8.1 or later" ,
269
+ " FEATURE_FAILURE_DCOMP_NOT_WIN8.1 " _ns);
270
270
}
271
271
272
272
if (!mFeatureGPUProcess ->IsEnabled ()) {
Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ class gfxConfigManager {
109
109
bool mIsNightly ;
110
110
bool mIsEarlyBetaOrEarlier ;
111
111
bool mSafeMode ;
112
+ bool mIsWin8Point1OrLater ;
112
113
bool mIsWin10OrLater ;
113
114
bool mIsWin11OrLater ;
114
115
};
You can’t perform that action at this time.
0 commit comments