Skip to content

Commit 0b6c3e2

Browse files
committed
Revert "Merge pull request #54 from goodusername123/Win8.1-DComp"
This reverts commit 27431a6, reversing changes made to 5034082.
1 parent 27431a6 commit 0b6c3e2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

gfx/config/gfxConfigManager.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ void gfxConfigManager::Init() {
6060
#ifdef XP_WIN
6161
DeviceManagerDx::Get()->CheckHardwareStretchingSupport(mHwStretchingSupport);
6262
mScaledResolution = HasScaledResolution();
63-
mIsWin8Point1OrLater = IsWin8Point1OrLater();
6463
mIsWin10OrLater = IsWin10OrLater();
6564
mIsWin11OrLater = IsWin11OrLater();
6665
mWrCompositorDCompRequired = true;
@@ -263,10 +262,11 @@ void gfxConfigManager::ConfigureWebRender() {
263262
"FEATURE_FAILURE_DCOMP_PREF_DISABLED"_ns);
264263
}
265264

266-
if (!mIsWin8Point1OrLater) {
265+
if (!mIsWin10OrLater) {
266+
// XXX relax win version to windows 8.
267267
mFeatureWrDComp->Disable(FeatureStatus::Unavailable,
268-
"Requires Windows 8.1 or later",
269-
"FEATURE_FAILURE_DCOMP_NOT_WIN8.1"_ns);
268+
"Requires Windows 10 or later",
269+
"FEATURE_FAILURE_DCOMP_NOT_WIN10"_ns);
270270
}
271271

272272
if (!mFeatureGPUProcess->IsEnabled()) {

gfx/config/gfxConfigManager.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ class gfxConfigManager {
109109
bool mIsNightly;
110110
bool mIsEarlyBetaOrEarlier;
111111
bool mSafeMode;
112-
bool mIsWin8Point1OrLater;
113112
bool mIsWin10OrLater;
114113
bool mIsWin11OrLater;
115114
};

0 commit comments

Comments
 (0)