@ -28,7 +28,6 @@ void ConfigureGraphicsAdvanced::SetConfiguration() {
ui - > use_vsync - > setChecked ( Settings : : values . use_vsync . GetValue ( ) ) ;
ui - > use_vsync - > setChecked ( Settings : : values . use_vsync . GetValue ( ) ) ;
ui - > use_asynchronous_shaders - > setChecked ( Settings : : values . use_asynchronous_shaders . GetValue ( ) ) ;
ui - > use_asynchronous_shaders - > setChecked ( Settings : : values . use_asynchronous_shaders . GetValue ( ) ) ;
ui - > use_caches_gc - > setChecked ( Settings : : values . use_caches_gc . GetValue ( ) ) ;
ui - > use_fast_gpu_time - > setChecked ( Settings : : values . use_fast_gpu_time . GetValue ( ) ) ;
ui - > use_fast_gpu_time - > setChecked ( Settings : : values . use_fast_gpu_time . GetValue ( ) ) ;
if ( Settings : : IsConfiguringGlobal ( ) ) {
if ( Settings : : IsConfiguringGlobal ( ) ) {
@ -55,8 +54,6 @@ void ConfigureGraphicsAdvanced::ApplyConfiguration() {
ConfigurationShared : : ApplyPerGameSetting ( & Settings : : values . use_asynchronous_shaders ,
ConfigurationShared : : ApplyPerGameSetting ( & Settings : : values . use_asynchronous_shaders ,
ui - > use_asynchronous_shaders ,
ui - > use_asynchronous_shaders ,
use_asynchronous_shaders ) ;
use_asynchronous_shaders ) ;
ConfigurationShared : : ApplyPerGameSetting ( & Settings : : values . use_caches_gc , ui - > use_caches_gc ,
use_caches_gc ) ;
ConfigurationShared : : ApplyPerGameSetting ( & Settings : : values . use_fast_gpu_time ,
ConfigurationShared : : ApplyPerGameSetting ( & Settings : : values . use_fast_gpu_time ,
ui - > use_fast_gpu_time , use_fast_gpu_time ) ;
ui - > use_fast_gpu_time , use_fast_gpu_time ) ;
}
}
@ -81,7 +78,6 @@ void ConfigureGraphicsAdvanced::SetupPerGameUI() {
ui - > use_asynchronous_shaders - > setEnabled (
ui - > use_asynchronous_shaders - > setEnabled (
Settings : : values . use_asynchronous_shaders . UsingGlobal ( ) ) ;
Settings : : values . use_asynchronous_shaders . UsingGlobal ( ) ) ;
ui - > use_fast_gpu_time - > setEnabled ( Settings : : values . use_fast_gpu_time . UsingGlobal ( ) ) ;
ui - > use_fast_gpu_time - > setEnabled ( Settings : : values . use_fast_gpu_time . UsingGlobal ( ) ) ;
ui - > use_caches_gc - > setEnabled ( Settings : : values . use_caches_gc . UsingGlobal ( ) ) ;
ui - > anisotropic_filtering_combobox - > setEnabled (
ui - > anisotropic_filtering_combobox - > setEnabled (
Settings : : values . max_anisotropy . UsingGlobal ( ) ) ;
Settings : : values . max_anisotropy . UsingGlobal ( ) ) ;
@ -94,8 +90,6 @@ void ConfigureGraphicsAdvanced::SetupPerGameUI() {
use_asynchronous_shaders ) ;
use_asynchronous_shaders ) ;
ConfigurationShared : : SetColoredTristate ( ui - > use_fast_gpu_time ,
ConfigurationShared : : SetColoredTristate ( ui - > use_fast_gpu_time ,
Settings : : values . use_fast_gpu_time , use_fast_gpu_time ) ;
Settings : : values . use_fast_gpu_time , use_fast_gpu_time ) ;
ConfigurationShared : : SetColoredTristate ( ui - > use_caches_gc , Settings : : values . use_caches_gc ,
use_caches_gc ) ;
ConfigurationShared : : SetColoredComboBox (
ConfigurationShared : : SetColoredComboBox (
ui - > gpu_accuracy , ui - > label_gpu_accuracy ,
ui - > gpu_accuracy , ui - > label_gpu_accuracy ,
static_cast < int > ( Settings : : values . gpu_accuracy . GetValue ( true ) ) ) ;
static_cast < int > ( Settings : : values . gpu_accuracy . GetValue ( true ) ) ) ;