mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
GLideNUI-wtl: OnFullScreenChanged selects the last refresh rate, manually add refresh rates and select the correct one
This commit is contained in:
parent
af906c8419
commit
64c7af548a
|
@ -408,7 +408,14 @@ void CVideoTab::LoadSettings(bool /*blockCustomSettings*/) {
|
|||
if (fullscreenMode == i)
|
||||
fullScreenResolutionComboBox.SetCurSel(index);
|
||||
}
|
||||
OnFullScreenChanged(0, 0, NULL);
|
||||
CComboBox RefreshRateComboBox(GetDlgItem(IDC_CMB_REFRESH_RATE));
|
||||
RefreshRateComboBox.ResetContent();
|
||||
for (size_t i = 0, n = fullscreenRatesList.size(); i < n; i++) {
|
||||
std::wstring fullscreenRateStr(fullscreenRatesList[i].begin(), fullscreenRatesList[i].end());
|
||||
int index = RefreshRateComboBox.AddString(fullscreenRateStr.c_str());
|
||||
if (fullscreenRate == i)
|
||||
RefreshRateComboBox.SetCurSel(index);
|
||||
}
|
||||
const unsigned int multisampling = config.video.fxaa == 0 && config.video.multisampling > 0
|
||||
? config.video.multisampling
|
||||
: 8;
|
||||
|
|
Loading…
Reference in New Issue
Block a user