@ -21,7 +21,6 @@ ConfigureGraphicsAdvanced::~ConfigureGraphicsAdvanced() = default;
void ConfigureGraphicsAdvanced : : SetConfiguration ( ) {
const bool runtime_lock = ! system . IsPoweredOn ( ) ;
ui - > use_vsync - > setEnabled ( runtime_lock ) ;
ui - > async_present - > setEnabled ( runtime_lock ) ;
ui - > renderer_force_max_clock - > setEnabled ( runtime_lock ) ;
ui - > async_astc - > setEnabled ( runtime_lock ) ;
@ -30,7 +29,6 @@ void ConfigureGraphicsAdvanced::SetConfiguration() {
ui - > async_present - > setChecked ( Settings : : values . async_presentation . GetValue ( ) ) ;
ui - > renderer_force_max_clock - > setChecked ( Settings : : values . renderer_force_max_clock . GetValue ( ) ) ;
ui - > use_vsync - > setChecked ( Settings : : values . use_vsync . GetValue ( ) ) ;
ui - > async_astc - > setChecked ( Settings : : values . async_astc . GetValue ( ) ) ;
ui - > use_asynchronous_shaders - > setChecked ( Settings : : values . use_asynchronous_shaders . GetValue ( ) ) ;
ui - > use_fast_gpu_time - > setChecked ( Settings : : values . use_fast_gpu_time . GetValue ( ) ) ;
@ -63,7 +61,6 @@ void ConfigureGraphicsAdvanced::ApplyConfiguration() {
renderer_force_max_clock ) ;
ConfigurationShared : : ApplyPerGameSetting ( & Settings : : values . max_anisotropy ,
ui - > anisotropic_filtering_combobox ) ;
ConfigurationShared : : ApplyPerGameSetting ( & Settings : : values . use_vsync , ui - > use_vsync , use_vsync ) ;
ConfigurationShared : : ApplyPerGameSetting ( & Settings : : values . async_astc , ui - > async_astc ,
async_astc ) ;
ConfigurationShared : : ApplyPerGameSetting ( & Settings : : values . use_asynchronous_shaders ,
@ -97,7 +94,6 @@ void ConfigureGraphicsAdvanced::SetupPerGameUI() {
ui - > async_present - > setEnabled ( Settings : : values . async_presentation . UsingGlobal ( ) ) ;
ui - > renderer_force_max_clock - > setEnabled (
Settings : : values . renderer_force_max_clock . UsingGlobal ( ) ) ;
ui - > use_vsync - > setEnabled ( Settings : : values . use_vsync . UsingGlobal ( ) ) ;
ui - > async_astc - > setEnabled ( Settings : : values . async_astc . UsingGlobal ( ) ) ;
ui - > use_asynchronous_shaders - > setEnabled (
Settings : : values . use_asynchronous_shaders . UsingGlobal ( ) ) ;
@ -117,7 +113,6 @@ void ConfigureGraphicsAdvanced::SetupPerGameUI() {
ConfigurationShared : : SetColoredTristate ( ui - > renderer_force_max_clock ,
Settings : : values . renderer_force_max_clock ,
renderer_force_max_clock ) ;
ConfigurationShared : : SetColoredTristate ( ui - > use_vsync , Settings : : values . use_vsync , use_vsync ) ;
ConfigurationShared : : SetColoredTristate ( ui - > async_astc , Settings : : values . async_astc ,
async_astc ) ;
ConfigurationShared : : SetColoredTristate ( ui - > use_asynchronous_shaders ,