Skip to content

Commit 92d74f9

Browse files
committed
Super Resolution и RTX Video HDR активно только для x64 версии.
1 parent 3b32189 commit 92d74f9

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Source/DX11VideoProcessor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,10 @@ CDX11VideoProcessor::CDX11VideoProcessor(CMpcVideoRenderer* pFilter, const Setti
401401
m_iHdrOsdBrightness = config.iHdrOsdBrightness;
402402
m_bConvertToSdr = config.bConvertToSdr;
403403
m_iSDRDisplayNits = config.iSDRDisplayNits;
404+
#ifdef _WIN64
404405
m_bVPRTXVideoHDR = config.bVPRTXVideoHDR;
405406
m_iVPSuperRes = config.iVPSuperRes;
407+
#endif
406408

407409
m_nCurrentAdapter = -1;
408410

Source/PropPage.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,11 @@ void CVRMainPPage::EnableControls()
147147
GetDlgItem(IDC_COMBO7).EnableWindow(bEnable);
148148
GetDlgItem(IDC_STATIC6).EnableWindow(bEnable);
149149
GetDlgItem(IDC_SLIDER1).EnableWindow(bEnable);
150+
#ifdef _WIN64
150151
GetDlgItem(IDC_STATIC7).EnableWindow(bEnable && m_SetsPP.bVPScaling);
151152
GetDlgItem(IDC_COMBO8).EnableWindow(bEnable && m_SetsPP.bVPScaling);
152153
GetDlgItem(IDC_CHECK19).EnableWindow(bEnable && m_SetsPP.bHdrPassthrough);
154+
#endif
153155
}
154156

155157
GetDlgItem(IDC_STATIC8).EnableWindow(m_SetsPP.bConvertToSdr);
@@ -210,6 +212,12 @@ HRESULT CVRMainPPage::OnActivate()
210212
GetDlgItem(IDC_CHECK19).EnableWindow(FALSE);
211213
}
212214

215+
#ifndef _WIN64
216+
GetDlgItem(IDC_STATIC7).EnableWindow(FALSE);
217+
GetDlgItem(IDC_COMBO8).EnableWindow(FALSE);
218+
GetDlgItem(IDC_CHECK19).EnableWindow(FALSE);
219+
#endif
220+
213221
EnableControls();
214222

215223
SendDlgItemMessageW(IDC_COMBO6, CB_ADDSTRING, 0, (LPARAM)L"Fixed font size");

0 commit comments

Comments
 (0)