|
|
|
@ -89,17 +89,16 @@ void ConfigureGraphicsAdvanced::ApplyConfiguration() {
|
|
|
|
|
ConfigurationShared::ApplyPerGameSetting(&Settings::values.max_anisotropy,
|
|
|
|
|
ui->anisotropic_filtering_combobox);
|
|
|
|
|
ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_vsync, ui->use_vsync,
|
|
|
|
|
trackers.use_vsync);
|
|
|
|
|
use_vsync);
|
|
|
|
|
ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_assembly_shaders,
|
|
|
|
|
ui->use_assembly_shaders,
|
|
|
|
|
trackers.use_assembly_shaders);
|
|
|
|
|
ui->use_assembly_shaders, use_assembly_shaders);
|
|
|
|
|
ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_asynchronous_shaders,
|
|
|
|
|
ui->use_asynchronous_shaders,
|
|
|
|
|
trackers.use_asynchronous_shaders);
|
|
|
|
|
use_asynchronous_shaders);
|
|
|
|
|
ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_fast_gpu_time,
|
|
|
|
|
ui->use_fast_gpu_time, trackers.use_fast_gpu_time);
|
|
|
|
|
ui->use_fast_gpu_time, use_fast_gpu_time);
|
|
|
|
|
ConfigurationShared::ApplyPerGameSetting(&Settings::values.force_30fps_mode,
|
|
|
|
|
ui->force_30fps_mode, trackers.force_30fps_mode);
|
|
|
|
|
ui->force_30fps_mode, force_30fps_mode);
|
|
|
|
|
ConfigurationShared::ApplyPerGameSetting(&Settings::values.max_anisotropy,
|
|
|
|
|
ui->anisotropic_filtering_combobox);
|
|
|
|
|
|
|
|
|
@ -141,19 +140,17 @@ void ConfigureGraphicsAdvanced::SetupPerGameUI() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ConfigurationShared::SetColoredTristate(ui->use_vsync, "use_vsync", Settings::values.use_vsync,
|
|
|
|
|
trackers.use_vsync);
|
|
|
|
|
use_vsync);
|
|
|
|
|
ConfigurationShared::SetColoredTristate(ui->use_assembly_shaders, "use_assembly_shaders",
|
|
|
|
|
Settings::values.use_assembly_shaders,
|
|
|
|
|
trackers.use_assembly_shaders);
|
|
|
|
|
use_assembly_shaders);
|
|
|
|
|
ConfigurationShared::SetColoredTristate(ui->use_assembly_shaders, "use_asynchronous_shaders",
|
|
|
|
|
Settings::values.use_asynchronous_shaders,
|
|
|
|
|
trackers.use_asynchronous_shaders);
|
|
|
|
|
use_asynchronous_shaders);
|
|
|
|
|
ConfigurationShared::SetColoredTristate(ui->use_fast_gpu_time, "use_fast_gpu_time",
|
|
|
|
|
Settings::values.use_fast_gpu_time,
|
|
|
|
|
trackers.use_fast_gpu_time);
|
|
|
|
|
Settings::values.use_fast_gpu_time, use_fast_gpu_time);
|
|
|
|
|
ConfigurationShared::SetColoredTristate(ui->force_30fps_mode, "force_30fps_mode",
|
|
|
|
|
Settings::values.force_30fps_mode,
|
|
|
|
|
trackers.force_30fps_mode);
|
|
|
|
|
Settings::values.force_30fps_mode, force_30fps_mode);
|
|
|
|
|
ConfigurationShared::SetColoredComboBox(
|
|
|
|
|
ui->gpu_accuracy, ui->label_gpu_accuracy, "label_gpu_accuracy",
|
|
|
|
|
static_cast<int>(Settings::values.gpu_accuracy.GetValue(true)));
|
|
|
|
|